Fix a possible edge case with the ticking changes by delaying removal until next tick
This commit is contained in:
@@ -32,6 +32,15 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
}
|
}
|
||||||
|
|
||||||
public World b() {
|
public World b() {
|
||||||
|
@@ -0,0 +0,0 @@ public abstract class World implements IBlockAccess {
|
||||||
|
this.everyoneSleeping();
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (!guardEntityList) { // Spigot - It will get removed after the tick if we are ticking
|
||||||
|
+ if (false) { // Spigot - It will get removed next tick
|
||||||
|
int i = entity.ae;
|
||||||
|
int j = entity.ag;
|
||||||
|
|
||||||
@@ -0,0 +0,0 @@ public abstract class World implements IBlockAccess {
|
@@ -0,0 +0,0 @@ public abstract class World implements IBlockAccess {
|
||||||
timings.entityTick.startTiming(); // Spigot
|
timings.entityTick.startTiming(); // Spigot
|
||||||
guardEntityList = true; // Spigot
|
guardEntityList = true; // Spigot
|
||||||
|
|||||||
Reference in New Issue
Block a user