mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Entity audit. Adds checks for null entities, and adds conformity.
This commit is contained in:
1 parent
1dad7de4f3
commit
1cbde901ba
34 files changed
+211
-173
No files matched your search
@@ -2,10 +2,10 @@ package net.minecraft.server;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
//CraftBukkit start
|
||||
// CraftBukkit start
|
||||
import org.bukkit.craftbukkit.CraftServer;
|
||||
import org.bukkit.craftbukkit.entity.CraftSpider;
|
||||
//CraftBukkit stop
|
||||
// CraftBukkit stop
|
||||
|
||||
public class EntitySpider extends EntityMobs {
|
||||
|
||||
@@ -14,10 +14,10 @@ public class EntitySpider extends EntityMobs {
|
||||
aP = "/mob/spider.png";
|
||||
a(1.4F, 0.9F);
|
||||
bC = 0.8F;
|
||||
//CraftBukkit start
|
||||
// CraftBukkit start
|
||||
CraftServer server = ((WorldServer) this.l).getServer();
|
||||
this.bukkitEntity = new CraftSpider(server, this);
|
||||
//CraftBukkit end
|
||||
// CraftBukkit end
|
||||
}
|
||||
|
||||
public double k() {
|
||||
|
||||
Reference in new issue
Block a user