Fix remove-unloaded.enderpearls option not being respected
This commit is contained in:
parent
0b2de42a41
commit
69337ef9ee
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ index 15fe976..7425bbf 100644
|
||||||
entity.ticksLived++;
|
entity.ticksLived++;
|
||||||
entity.inactiveTick();
|
entity.inactiveTick();
|
||||||
+ // PaperSpigot start - Remove entities in unloaded chunks
|
+ // PaperSpigot start - Remove entities in unloaded chunks
|
||||||
+ if (entity instanceof EntityEnderPearl || (!this.isChunkLoaded(i, j, true) &&
|
+ if (!this.isChunkLoaded(i, j, true) && ((entity instanceof EntityEnderPearl && this.paperSpigotConfig.removeUnloadedEnderPearls) ||
|
||||||
+ (entity instanceof EntityFallingBlock && this.paperSpigotConfig.removeUnloadedFallingBlocks) ||
|
+ (entity instanceof EntityFallingBlock && this.paperSpigotConfig.removeUnloadedFallingBlocks) ||
|
||||||
+ (entity instanceof EntityTNTPrimed && this.paperSpigotConfig.removeUnloadedTNTEntities))) {
|
+ (entity instanceof EntityTNTPrimed && this.paperSpigotConfig.removeUnloadedTNTEntities))) {
|
||||||
+ entity.inUnloadedChunk = true;
|
+ entity.inUnloadedChunk = true;
|
||||||
|
|
Loading…
Reference in a new issue