Skip Entity and Tile Entity ticking in chunks scheduled for unload (#1132)

Fixes #1131
This commit is contained in:
Mark Vainomaa
2018-05-30 23:31:55 +03:00
parent 0576336943
commit df3df43dea
24 changed files with 97 additions and 58 deletions

View File

@@ -12,7 +12,7 @@ This disables that by not saving the thrower when the chunk is unloaded.
This is mainly useful for survival servers that do not allow freeform teleporting.
diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
index cc1914d8c..606c0bed8 100644
index ba5332c3..d1acf678 100644
--- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
+++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
@@ -0,0 +0,0 @@ public class PaperWorldConfig {
@@ -27,7 +27,7 @@ index cc1914d8c..606c0bed8 100644
+ }
}
diff --git a/src/main/java/net/minecraft/server/EntityProjectile.java b/src/main/java/net/minecraft/server/EntityProjectile.java
index 01c7fcc8b..8e6428a0c 100644
index 01c7fcc8..8e6428a0 100644
--- a/src/main/java/net/minecraft/server/EntityProjectile.java
+++ b/src/main/java/net/minecraft/server/EntityProjectile.java
@@ -0,0 +0,0 @@ public abstract class EntityProjectile extends Entity implements IProjectile {