xSavior-of-God / ArmorStand-Limiter

Problems with tps? Is it ArmorStand's fault? Use ArmorStandLimiter to prevent your server from crash
MIT License
3 stars 1 forks source link

Add 1.21 support #12

Closed pjindras closed 3 months ago

pjindras commented 3 months ago

Plugin throws many errors on 1.21

12:54:05[WARN] [ArmorStand-Limiter] Task #1386 for ArmorStand-Limiter v1.7 generated an exception java.lang.ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3 at ArmorStand-Limiter.v1.7.jar/com.xSavior_of_God.ArmorStandLimiter.Checker$1.run(Checker.java:33) ~[ArmorStand-Limiter.v1.7.jar:?] at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:86) ~[purpur-1.21.jar:1.21-2280-930003b] at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:475) ~[purpur-1.21.jar:1.21-2280-930003b] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1762) ~[purpur-1.21.jar:1.21-2280-930003b] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:509) ~[purpur-1.21.jar:1.21-2280-930003b] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1634) ~[purpur-1.21.jar:1.21-2280-930003b] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1334) ~[purpur-1.21.jar:1.21-2280-930003b] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:333) ~[purpur-1.21.jar:1.21-2280-930003b] at java.base/java.lang.Thread.run(Unknown Source) ~[?:?]