Shevchik / AutoSaveWorld

Bukkit plugin that provides advanced bukkit server management capabilities. Supports automatic saves, backups, stale data purge, plugin management, and more.
GNU General Public License v3.0
35 stars 36 forks source link

Can't find method saveLevel on minecraft v1.13.2 #54

Closed mayu0326 closed 5 years ago

mayu0326 commented 5 years ago

Bug report

AutoSaveWorld version: 4.15

Server version: git-Spigot-3cb9dcb-0f708cb (MC: 1.13.2) (API version 1.13.2-R0.1-SNAPSHOT)

Description

I tried running the plugin on my test server for 1.13.2 and an exception was thrown whenever the server is saving a world.

I know that the plugin currently isn't compiled against 1.13.2 so compatibillity issues are totally possible in this state but I just wanted to let you know so that updating will be easier.

Stack trace

[17:04:18] [AutoSaveWorld AutoSaveThread/INFO]: saveing...
[17:04:19] [AutoSaveWorld AutoSaveThread/ERROR]: [AutoSaveWorld] Could not dump RegionFileCache 
java.lang.RuntimeException: Can't find method saveLevel with params length 0
    at autosaveworld.utils.ReflectionUtils.getMethod(ReflectionUtils.java:49) ~[AutoSaveWorld.jar:?]
    at autosaveworld.features.save.AutoSaveThread.dumpRegionCache(AutoSaveThread.java:135) [AutoSaveWorld.jar:?]

    at autosaveworld.features.save.AutoSaveThread.performSave(AutoSaveThread.java:122) [AutoSaveWorld.jar:?]

    at autosaveworld.features.save.AutoSaveThread.doTask(AutoSaveThread.java:70) [AutoSaveWorld.jar:?]

    at autosaveworld.utils.Threads$IntervalTaskThread.run(Threads.java:103) [AutoSaveWorld.jar:?]

This is the only issue I recognized till now. The plugin manager still works perfectly.

Thanks for the time you put into this plugin!