Stargate Rewritten

Stargate Rewritten

241 Downloads

Tags for non block can be specified as a material in gateformat

Thorinwasher opened this issue ยท 0 comments

commented

You cant make a block out of an bat. (Well if there's only 1 bat)

[22:17:40] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to Stargate v0.11.0.4
org.bukkit.event.EventException: null
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
        at org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:499) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
        at net.minecraft.server.level.PlayerInteractManager.a(PlayerInteractManager.java:485) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
        at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1540) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
        at net.minecraft.network.protocol.game.PacketPlayInUseItem.a(PacketPlayInUseItem.java:33) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
        at net.minecraft.network.protocol.game.PacketPlayInUseItem.a(PacketPlayInUseItem.java:1) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
        at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:30) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
        at net.minecraft.server.TickTask.run(SourceFile:18) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
        at net.minecraft.util.thread.IAsyncTaskHandler.executeTask(SourceFile:151) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
        at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
        at net.minecraft.util.thread.IAsyncTaskHandler.executeNext(SourceFile:125) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
        at net.minecraft.server.MinecraftServer.bg(MinecraftServer.java:1125) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
        at net.minecraft.server.MinecraftServer.executeNext(MinecraftServer.java:1118) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
        at net.minecraft.util.thread.IAsyncTaskHandler.executeAll(SourceFile:110) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
        at net.minecraft.server.MinecraftServer.sleepForTick(MinecraftServer.java:1101) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
        at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1031) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
        at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:307) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
        at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: java.util.NoSuchElementException
        at java.util.HashMap$HashIterator.nextNode(HashMap.java:1586) ~[?:?]
        at java.util.HashMap$KeyIterator.next(HashMap.java:1607) ~[?:?]
        at net.TheDgtl.Stargate.gate.GateIris.getMat(GateIris.java:65) ~[?:?]
        at net.TheDgtl.Stargate.gate.GateFormat.getIrisMat(GateFormat.java:112) ~[?:?]
        at net.TheDgtl.Stargate.gate.Gate.open(Gate.java:238) ~[?:?]
        at net.TheDgtl.Stargate.network.portal.Portal.open(Portal.java:170) ~[?:?]
        at net.TheDgtl.Stargate.network.portal.Portal.onButtonClick(Portal.java:258) ~[?:?]
        at net.TheDgtl.Stargate.listeners.PlayerEventListener.onPlayerInteract(PlayerEventListener.java:79) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
        ... 20 more