Entity audit. Adds checks for null entities, and adds conformity.

This commit is contained in:
Andrew Ardill committed 2011-01-21 16:54:30 +11:00
1 parent 1dad7de4f3
commit 1cbde901ba
34 files changed
+211 -173

No files matched your search

@@ -1,18 +1,18 @@
package net.minecraft.server;
//CraftBukkit start
// CraftBukkit start
import org.bukkit.craftbukkit.CraftServer;
import org.bukkit.craftbukkit.entity.CraftFlying;
//CraftBukkit end
// CraftBukkit end
public class EntityFlying extends EntityLiving {
public EntityFlying(World world) {
super(world);
//CraftBukkit start
// CraftBukkit start
CraftServer server = ((WorldServer) this.l).getServer();
this.bukkitEntity = new CraftFlying(server, this);
//CraftBukkit end
// CraftBukkit end
}
protected void a(float f) {}