Fix mixup in SpongeChunkTicketManager
check ChunkListDepth, to set ChunkListDepth not the maximum ticket count
@@ -164,7 +164,7 @@ public int getAvailableTickets(UUID player) {
@Override
public boolean setNumChunks(int numChunks) {
- if (numChunks > getMaxTickets(this.plugin) || (numChunks <= 0 && getMaxTickets(this.plugin) > 0)) {
+ if (numChunks > getMaxNumChunks(this.plugin) || (numChunks <= 0 && getMaxNumChunks(this.plugin) > 0)) {
return false;
}
