Bug
Shisuiicaro opened this issue ยท 0 comments
WorldEdit Version
7.2.17
Platform Version
Forge 40.2.10 magma
Confirmations
- I am using the most recent Minecraft release.
- I am using a version of WorldEdit compatible with my Minecraft version.
- I am using the latest or recommended version of my platform software.
- I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
- I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)
Bug Description
When i open my server and try to use world edit, the plugin don't work and keep spamming this error in console
[07Dec2023 16:06:50.862] [Server thread/ERROR] [com.sk89q.worldedit.util.eventbus.EventBus/]: Could not dispatch event: com.sk89q.worldedit.event.platform.BlockInteractEvent@7b3f6e20 to handler EventHandler{priority=NORMAL} -- 1503 | java.lang.reflect.InvocationTargetException: null 1504 | at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:75) ~[?:?] 1505 | at com.sk89q.worldedit.util.eventbus.EventBus.dispatch(EventBus.java:193) ~[?:?] 1506 | at com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java:181) ~[?:?] 1507 | at com.sk89q.worldedit.WorldEdit.handleBlockLeftClick(WorldEdit.java:691) ~[?:?] 1508 | at com.sk89q.worldedit.bukkit.WorldEditListener.onPlayerInteract(WorldEditListener.java:118) ~[?:?] 1509 | at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] 1510 | at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] 1511 | at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] 1512 | at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] 1513 | at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:291) ~[?:?] 1514 | at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:79) ~[?:?] 1515 | at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[?:?] 1516 | at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:595) ~[?:?] 1517 | at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:582) ~[?:?] 1518 | at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:383) ~[?:?] 1519 | at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:350) ~[?:?] 1520 | at net.minecraft.server.level.ServerPlayerGameMode.m_7391_(ServerPlayerGameMode.java:184) ~[?:?] 1521 | at net.minecraft.server.network.ServerGamePacketListenerImpl.m_7502_(ServerGamePacketListenerImpl.java:1306) ~[?:?] 1522 | at net.minecraft.network.protocol.game.ServerboundPlayerActionPacket.m_5797_(ServerboundPlayerActionPacket.java:34) ~[?:?] 1523 | at net.minecraft.network.protocol.game.ServerboundPlayerActionPacket.m_5797_(ServerboundPlayerActionPacket.java:8) ~[?:?] 1524 | at net.minecraft.network.protocol.PacketUtils.m_131356_(PacketUtils.java:26) ~[?:?] 1525 | at net.minecraft.server.TickTask.run(TickTask.java:18) ~[?:?] 1526 | at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:157) ~[?:?] 1527 | at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[?:?] 1528 | at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:1109) ~[?:?] 1529 | at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:139) ~[?:?] 1530 | at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:131) ~[?:?] 1531 | at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1092) ~[?:?] 1532 | at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1086) ~[?:?] 1533 | at net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:116) ~[?:?] 1534 | at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1071) ~[?:?] 1535 | at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:958) ~[?:?] 1536 | at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:263) ~[?:?] 1537 | at java.lang.Thread.run(Thread.java:840) ~[?:?] 1538 | Caused by: java.lang.NullPointerException: Cannot invoke "net.minecraft.server.MinecraftServer.m_6846_()" because "this.server" is null 1539 | at com.sk89q.worldedit.forge.ForgePlatform.matchPlayer(ForgePlatform.java:142) ~[?:?] 1540 | at com.sk89q.worldedit.extension.platform.PlatformManager.createProxyActor(PlatformManager.java:269) ~[?:?] 1541 | at com.sk89q.worldedit.extension.platform.PlatformManager.handleBlockInteract(PlatformManager.java:345) ~[?:?] 1542 | at com.sk89q.worldedit.util.eventbus.MethodHandleEventHandler.dispatch(MethodHandleEventHandler.java:51) ~[?:?] 1543 | at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73) ~[?:?] 1544 | ... 33 moreExpected Behavior
the plugin working whitout the error spamming
Reproduction Steps
- Install the same versions as me
- Install world edit and worldguard
Anything Else?
No response