Vampires Minigame - confrontation between humans and vampires. The goal of the vampires is to kill all the players. The goal of people is to live 24 waves.
22.06 07:31:29 [Server] ERROR Could not pass event PlayerInteractEvent to VampireZ v4.0.4-RELEASE
22.06 07:31:29 [Server] INFO java.lang.NullPointerException: Cannot read the array length because "items" is null
22.06 07:31:29 [Server] INFO at org.bukkit.craftbukkit.v1_19_R3.inventory.CraftInventory.setContents(CraftInventory.java:91) ~[purpur-1.19.4.jar:git-Purpur-1985]
22.06 07:31:29 [Server] INFO at com.tigerhix.vampirez.Game.leave(Game.java:137) ~[Vampirez-4.0.4-RELEASE.jar:?]
22.06 07:31:29 [Server] INFO at com.tigerhix.vampirez.Sign.onInteract(Sign.java:141) ~[Vampirez-4.0.4-RELEASE.jar:?]
22.06 07:31:29 [Server] INFO at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor814.execute(Unknown Source) ~[?:?]
22.06 07:31:29 [Server] INFO at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?]
22.06 07:31:29 [Server] INFO at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:git-Purpur-1985]
22.06 07:31:29 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?]
22.06 07:31:29 [Server] INFO at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[purpur-1.19.4.jar:git-Purpur-1985]
22.06 07:31:29 [Server] INFO at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[purpur-1.19.4.jar:git-Purpur-1985]
22.06 07:31:29 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?]
22.06 07:31:29 [Server] INFO at org.bukkit.craftbukkit.v1_19_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:564) ~[purpur-1.19.4.jar:git-Purpur-1985]
22.06 07:31:29 [Server] INFO at net.minecraft.server.level.ServerPlayerGameMode.useItemOn(ServerPlayerGameMode.java:538) ~[?:?]
22.06 07:31:29 [Server] INFO at net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItemOn(ServerGamePacketListenerImpl.java:2041) ~[?:?]
22.06 07:31:29 [Server] INFO at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:37) ~[?:?]
22.06 07:31:29 [Server] INFO at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.a(ServerboundUseItemOnPacket.java:9) ~[?:?]
22.06 07:31:29 [Server] INFO at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:51) ~[?:?]
22.06 07:31:29 [Server] INFO at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.19.4.jar:git-Purpur-1985]
22.06 07:31:29 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
22.06 07:31:29 [Server] INFO at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
22.06 07:31:29 [Server] INFO at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1369) ~[purpur-1.19.4.jar:git-Purpur-1985]
22.06 07:31:29 [Server] INFO at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[purpur-1.19.4.jar:git-Purpur-1985]
22.06 07:31:29 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
22.06 07:31:29 [Server] INFO at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1346) ~[purpur-1.19.4.jar:git-Purpur-1985]
22.06 07:31:29 [Server] INFO at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1339) ~[purpur-1.19.4.jar:git-Purpur-1985]
22.06 07:31:29 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
22.06 07:31:29 [Server] INFO at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1317) ~[purpur-1.19.4.jar:git-Purpur-1985]
22.06 07:31:29 [Server] INFO at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1205) ~[purpur-1.19.4.jar:git-Purpur-1985]
22.06 07:31:29 [Server] INFO at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325) ~[purpur-1.19.4.jar:git-Purpur-1985]
22.06 07:31:29 [Server] INFO at java.lang.Thread.run(Thread.java:840) ~[?:?]
22.06 07:31:29 [Server] ERROR Could not pass event PlayerInteractEvent to VampireZ v4.0.4-RELEASE 22.06 07:31:29 [Server] INFO java.lang.NullPointerException: Cannot read the array length because "items" is null 22.06 07:31:29 [Server] INFO at org.bukkit.craftbukkit.v1_19_R3.inventory.CraftInventory.setContents(CraftInventory.java:91) ~[purpur-1.19.4.jar:git-Purpur-1985] 22.06 07:31:29 [Server] INFO at com.tigerhix.vampirez.Game.leave(Game.java:137) ~[Vampirez-4.0.4-RELEASE.jar:?] 22.06 07:31:29 [Server] INFO at com.tigerhix.vampirez.Sign.onInteract(Sign.java:141) ~[Vampirez-4.0.4-RELEASE.jar:?] 22.06 07:31:29 [Server] INFO at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor814.execute(Unknown Source) ~[?:?] 22.06 07:31:29 [Server] INFO at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?] 22.06 07:31:29 [Server] INFO at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:git-Purpur-1985] 22.06 07:31:29 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?] 22.06 07:31:29 [Server] INFO at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[purpur-1.19.4.jar:git-Purpur-1985] 22.06 07:31:29 [Server] INFO at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[purpur-1.19.4.jar:git-Purpur-1985] 22.06 07:31:29 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?] 22.06 07:31:29 [Server] INFO at org.bukkit.craftbukkit.v1_19_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:564) ~[purpur-1.19.4.jar:git-Purpur-1985] 22.06 07:31:29 [Server] INFO at net.minecraft.server.level.ServerPlayerGameMode.useItemOn(ServerPlayerGameMode.java:538) ~[?:?] 22.06 07:31:29 [Server] INFO at net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItemOn(ServerGamePacketListenerImpl.java:2041) ~[?:?] 22.06 07:31:29 [Server] INFO at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:37) ~[?:?] 22.06 07:31:29 [Server] INFO at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.a(ServerboundUseItemOnPacket.java:9) ~[?:?] 22.06 07:31:29 [Server] INFO at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:51) ~[?:?] 22.06 07:31:29 [Server] INFO at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.19.4.jar:git-Purpur-1985] 22.06 07:31:29 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?] 22.06 07:31:29 [Server] INFO at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?] 22.06 07:31:29 [Server] INFO at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1369) ~[purpur-1.19.4.jar:git-Purpur-1985] 22.06 07:31:29 [Server] INFO at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[purpur-1.19.4.jar:git-Purpur-1985] 22.06 07:31:29 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?] 22.06 07:31:29 [Server] INFO at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1346) ~[purpur-1.19.4.jar:git-Purpur-1985] 22.06 07:31:29 [Server] INFO at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1339) ~[purpur-1.19.4.jar:git-Purpur-1985] 22.06 07:31:29 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?] 22.06 07:31:29 [Server] INFO at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1317) ~[purpur-1.19.4.jar:git-Purpur-1985] 22.06 07:31:29 [Server] INFO at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1205) ~[purpur-1.19.4.jar:git-Purpur-1985] 22.06 07:31:29 [Server] INFO at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325) ~[purpur-1.19.4.jar:git-Purpur-1985] 22.06 07:31:29 [Server] INFO at java.lang.Thread.run(Thread.java:840) ~[?:?]
fix please