PedroJM96 / SuperLobbyDeluxe

Customize many functions and features of the server lobby in a powerful and free for all.
17 stars 14 forks source link

`IllegalStateException: PrepareItemCraftEvent may only be triggered synchronously` #23

Open ChefMC opened 1 year ago

ChefMC commented 1 year ago

I'm using Paper 1.20.1 and getting this when logging in:

[21:35:28 INFO]: I_am[/127.0.0.1:54600] logged in with entity id 1 at ([world_hub]0.5, 64.0, 0.5)
[21:35:29 WARN]: [SuperLobby] Plugin SuperLobby v4.6.3 generated an exception while executing task 1575
java.lang.IllegalStateException: PrepareItemCraftEvent may only be triggered synchronously.
        at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:42) ~[slimeworldmanager-1.20.1.jar:git-SlimeWorldManager-15259]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[slimeworldmanager-1.20.1.jar:git-SlimeWorldManager-15259]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615) ~[slimeworldmanager-api-1.20-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_20_R1.event.CraftEventFactory.callPreCraftEvent(CraftEventFactory.java:1445) ~[slimeworldmanager-1.20.1.jar:git-SlimeWorldManager-15259]
        at net.minecraft.world.inventory.CraftingMenu.slotChangedCraftingGrid(CraftingMenu.java:91) ~[?:?]
        at net.minecraft.world.inventory.InventoryMenu.slotsChanged(InventoryMenu.java:163) ~[?:?]
        at net.minecraft.world.inventory.TransientCraftingContainer.setItem(TransientCraftingContainer.java:146) ~[slimeworldmanager-1.20.1.jar:git-SlimeWorldManager-15259]
        at net.minecraft.world.inventory.Slot.set(Slot.java:63) ~[slimeworldmanager-1.20.1.jar:git-SlimeWorldManager-15259]
        at org.bukkit.craftbukkit.v1_20_R1.inventory.CraftInventoryView.setItem(CraftInventoryView.java:62) ~[slimeworldmanager-1.20.1.jar:git-SlimeWorldManager-15259]
        at com.pedrojm96.superlobby.inventory.MojangTexture.run(MojangTexture.java:63) ~[?:?]
        at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[slimeworldmanager-1.20.1.jar:git-SlimeWorldManager-15259]
        at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[slimeworldmanager-1.20.1.jar:git-SlimeWorldManager-15259]
        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[slimeworldmanager-1.20.1.jar:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
ChefMC commented 1 year ago

Also there problem with disabling tab complete feature for configured commands: when this feature is enabled, ALL the Paper/Spigot commands are unavailable for tab completing