bsalha1 / Printer

This is a plugin for Minecraft that aids in building, as it gives the player creative mode and charges them for each block they place. All exploits are patched as well.
GNU General Public License v3.0
6 stars 5 forks source link

Error printer #12

Closed Distolfix closed 3 years ago

Distolfix commented 3 years ago

the console spam this error when a player place a obsidian block

[12:17:29 ERROR]: Could not pass event BlockPlaceEvent to Printer v2.5 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[patched.jar:git-PaperSpigot-"4c7641d"] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched.jar:git-PaperSpigot-"4c7641d"] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched.jar:git-PaperSpigot-"4c7641d"] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517) [patched.jar:git-PaperSpigot-"4c7641d"] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) [patched.jar:git-PaperSpigot-"4c7641d"] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:127) [patched.jar:git-PaperSpigot-"4c7641d"] at net.minecraft.server.v1_8_R3.ItemStack.placeItem(ItemStack.java:160) [patched.jar:git-PaperSpigot-"4c7641d"] at net.minecraft.server.v1_8_R3.PlayerInteractManager.interact(PlayerInteractManager.java:503) [patched.jar:git-PaperSpigot-"4c7641d"] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:763) [patched.jar:git-PaperSpigot-"4c7641d"] at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:52) [patched.jar:git-PaperSpigot-"4c7641d"] at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:1) [patched.jar:git-PaperSpigot-"4c7641d"] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [patched.jar:git-PaperSpigot-"4c7641d"] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_282] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_282] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [patched.jar:git-PaperSpigot-"4c7641d"] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774) [patched.jar:git-PaperSpigot-"4c7641d"] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [patched.jar:git-PaperSpigot-"4c7641d"] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [patched.jar:git-PaperSpigot-"4c7641d"] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [patched.jar:git-PaperSpigot-"4c7641d"] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282] Caused by: java.lang.IllegalStateException: Unregistered scoreboard component at org.bukkit.craftbukkit.v1_8_R3.scoreboard.CraftObjective.checkState(CraftObjective.java:112) ~[patched.jar:git-PaperSpigot-"4c7641d"] at org.bukkit.craftbukkit.v1_8_R3.scoreboard.CraftObjective.getScore(CraftObjective.java:97) ~[patched.jar:git-PaperSpigot-"4c7641d"] at com.reliableplugins.printer.PrinterPlayer.updateScoreboard(PrinterPlayer.java:227) ~[?:?] at com.reliableplugins.printer.PrinterPlayer.incrementCost(PrinterPlayer.java:209) ~[?:?] at com.reliableplugins.printer.listeners.ListenPrinterBlockPlace.onBlockPlace(ListenPrinterBlockPlace.java:91) ~[?:?] at sun.reflect.GeneratedMethodAccessor738.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_282] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_282] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[patched.jar:git-PaperSpigot-"4c7641d"] ... 19 more

bsalha1 commented 3 years ago

It looks like you have some scoreboard management plugin that unregisters the scoreboard for Printer. If that's the case then you can fix this by setting scoreboard-enabled to false in Printer/config.yml