diff options
Diffstat (limited to 'src/main/java/net/minecraft/server/EntitySpider.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntitySpider.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/EntitySpider.java b/src/main/java/net/minecraft/server/EntitySpider.java index b1a060d4..f9a639dc 100644 --- a/src/main/java/net/minecraft/server/EntitySpider.java +++ b/src/main/java/net/minecraft/server/EntitySpider.java @@ -2,6 +2,9 @@ package net.minecraft.server; import java.util.Random; +import org.bukkit.craftbukkit.CraftServer; +import org.bukkit.craftbukkit.entity.CraftSpider; + public class EntitySpider extends EntityMobs { public EntitySpider(World world) { @@ -9,6 +12,10 @@ public class EntitySpider extends EntityMobs { aP = "/mob/spider.png"; a(1.4F, 0.9F); bC = 0.8F; + //CraftBukkit start + CraftServer server = ((WorldServer) this.l).getServer(); + this.bukkitEntity = new CraftSpider(server, this); + //CraftBukkit end } public double k() { |