You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When starting BreweryNG 1.4.1 on Paper version 1.21-37-master@dd49fba, the following error occurs:
Error occurred while enabling Brewery v3.1.1 (Is it up to date?)
java.lang.UnsupportedOperationException: Use BukkitRunnable#runTaskLaterAsynchronously(Plugin, long)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.runTaskLaterAsynchronously(CraftScheduler.java:642) ~[paper-1.21.jar:1.21-37-dd49fba]
at BreweryNG-1.4.1.jar/com.dre.brewery.utility.BScheduler$BukkitScheduler.runAsyncTaskLater(BScheduler.java:108) ~[BreweryNG-1.4.1.jar:?]
at BreweryNG-1.4.1.jar/com.dre.brewery.filedata.BData.readData(BData.java:188) ~[BreweryNG-1.4.1.jar:?]
at BreweryNG-1.4.1.jar/com.dre.brewery.P.onEnable(P.java:137) ~[BreweryNG-1.4.1.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:288) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) ~[paper-1.21.jar:1.21-37-dd49fba]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.21.jar:1.21-37-dd49fba]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:629) ~[paper-1.21.jar:1.21-37-dd49fba]
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:578) ~[paper-1.21.jar:1.21-37-dd49fba]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:690) ~[paper-1.21.jar:1.21-37-dd49fba]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:452) ~[paper-1.21.jar:1.21-37-dd49fba]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:327) ~[paper-1.21.jar:1.21-37-dd49fba]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1157) ~[paper-1.21.jar:1.21-37-dd49fba]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:329) ~[paper-1.21.jar:1.21-37-dd49fba]
This happens because BukkitScheduler#runTaskLaterAsynchronously(Plugin, BukkitRunnable, long) is deprecated and immediately throws UnsupportedOperationException.
The text was updated successfully, but these errors were encountered:
When starting BreweryNG 1.4.1 on Paper version 1.21-37-master@dd49fba, the following error occurs:
This happens because
BukkitScheduler#runTaskLaterAsynchronously(Plugin, BukkitRunnable, long)
is deprecated and immediately throwsUnsupportedOperationException
.The text was updated successfully, but these errors were encountered: