geforkt von Mirrors/Paper
Fix entities not having valid "isValid" states. Addresses BUKKIT-2366
Dieser Commit ist enthalten in:
Ursprung
e3ae188ed2
Commit
98c98d0f7a
@ -91,7 +91,7 @@ public abstract class Entity {
|
||||
public boolean al;
|
||||
public EnumEntitySize am;
|
||||
public UUID uniqueId = UUID.randomUUID(); // CraftBukkit
|
||||
public boolean valid = true; // CraftBukkit
|
||||
public boolean valid = false; // CraftBukkit
|
||||
|
||||
public Entity(World world) {
|
||||
this.id = entityCount++;
|
||||
|
@ -878,6 +878,8 @@ public abstract class World implements IBlockAccess {
|
||||
|
||||
iworldaccess.a(entity);
|
||||
}
|
||||
|
||||
entity.valid = true; // CraftBukkit
|
||||
}
|
||||
|
||||
protected void b(Entity entity) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren