Ban Management

Ban Management

193k Downloads

/report without args causes console error

PIE-yt opened this issue ยท 0 comments

commented

Fairly minor issue, every time /report is run without any arguments the following error occurs in the console:

[20:47:07 WARN]: [BanManager] Task #81621 for BanManager v5.10.0 generated an exception
java.lang.IllegalStateException: Expecting there to be a clause already defined for 'AND' operation
        at me.confuser.banmanager.internal.ormlite.stmt.Where.pop(Where.java:702) ~[?:?]
        at me.confuser.banmanager.internal.ormlite.stmt.Where.and(Where.java:153) ~[?:?]
        at me.confuser.banmanager.storage.PlayerReportStorage.getReports(PlayerReportStorage.java:71) ~[?:?]
        at me.confuser.banmanager.commands.report.ListSubCommand$1.run(ListSubCommand.java:62) ~[?:?]
        at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.10.jar:git-Spigot-c55900f-9af379f]
        at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-1.10.jar:git-Spigot-c55900f-9af379
f]
        at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:741) [spigot-1.10.jar:git-Spigot-c55900f-9af379f]
        at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.10.jar:git-Spigot-c55900f-9af379f]
        at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672) [spigot-1.10.jar:git-Spigot-c55900f-9af379f]
        at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:571) [spigot-1.10.jar:git-Spigot-c55900f-9af379f]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_91]

Thanks for your time.