disable forced empty world ticks
This commit is contained in:
@@ -342,7 +342,7 @@
|
|||||||
this.handlingTick = false;
|
this.handlingTick = false;
|
||||||
gameprofilerfiller.pop();
|
gameprofilerfiller.pop();
|
||||||
- boolean flag1 = !this.players.isEmpty() || !this.getForcedChunks().isEmpty();
|
- boolean flag1 = !this.players.isEmpty() || !this.getForcedChunks().isEmpty();
|
||||||
+ boolean flag1 = true || !this.players.isEmpty() || !this.getForcedChunks().isEmpty(); // CraftBukkit - this prevents entity cleanup, other issues on servers with no players
|
+ boolean flag1 = !paperConfig().unsupportedSettings.disableWorldTickingWhenEmpty || !this.players.isEmpty() || !this.getForcedChunks().isEmpty(); // CraftBukkit - this prevents entity cleanup, other issues on servers with no players // Paper - restore this
|
||||||
|
|
||||||
if (flag1) {
|
if (flag1) {
|
||||||
this.resetEmptyTime();
|
this.resetEmptyTime();
|
||||||
|
|||||||
Reference in New Issue
Block a user