Cleanup BukkitChunkManager

This commit is contained in:
Jesse Boyd 2016-03-29 18:43:57 +11:00
parent 75a70bcff4
commit 6f9af04274
2 changed files with 525 additions and 514 deletions

View File

@ -408,7 +408,7 @@ public class EntityWrapper {
Location loc = new Location(world, this.x + x_offset, this.y, this.z + z_offset);
loc.setYaw(this.yaw);
loc.setPitch(this.pitch);
if (this.type.isSpawnable()) {
if (!this.type.isSpawnable()) {
return null;
}
Entity entity;