27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
|
From 3a9421a5ab5ebab8ec294d8c32e321080b07d56e Mon Sep 17 00:00:00 2001
|
||
|
From: Shaun Bennett <phination@me.com>
|
||
|
Date: Tue, 21 Apr 2015 19:58:54 -0400
|
||
|
Subject: [PATCH] Mineplex - World Changes
|
||
|
|
||
|
|
||
|
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
||
|
index db0697b..35b216b 100644
|
||
|
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
||
|
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
||
|
@@ -1114,9 +1114,9 @@ public class CraftWorld implements World {
|
||
|
( (EntityOcelot) entity ).spawnBonus = false;
|
||
|
}
|
||
|
// Spigot end
|
||
|
- if (entity instanceof EntityInsentient) {
|
||
|
- ((EntityInsentient) entity).prepare(getHandle().E(new BlockPosition(entity)), (GroupDataEntity) null);
|
||
|
- }
|
||
|
+// if (entity instanceof EntityInsentient) {
|
||
|
+// ((EntityInsentient) entity).prepare(getHandle().E(new BlockPosition(entity)), (GroupDataEntity) null);
|
||
|
+// }
|
||
|
|
||
|
world.addEntity(entity, reason);
|
||
|
return (T) entity.getBukkitEntity();
|
||
|
--
|
||
|
2.3.5
|
||
|
|