27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
From b09aac2ab0ed33d0b67b1bb0d4ab686bdcce0762 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
|
|
|