summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authortahg <tahgtahv@gmail.com>2011-01-21 18:46:15 -0800
committertahg <tahgtahv@gmail.com>2011-01-21 18:46:15 -0800
commit8c91ee9c51d92fb3afb766cdb0fdcfdae86daaea (patch)
tree2fc533d2db8146eeb1abffe8440a1ca64afab8e6 /src/main
parentd98c8e2100907c21f019e854a818a8426875b068 (diff)
downloadcraftbukkit-8c91ee9c51d92fb3afb766cdb0fdcfdae86daaea.tar
craftbukkit-8c91ee9c51d92fb3afb766cdb0fdcfdae86daaea.tar.gz
craftbukkit-8c91ee9c51d92fb3afb766cdb0fdcfdae86daaea.tar.lz
craftbukkit-8c91ee9c51d92fb3afb766cdb0fdcfdae86daaea.tar.xz
craftbukkit-8c91ee9c51d92fb3afb766cdb0fdcfdae86daaea.zip
Reordered calls to fix use before assignment issue
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/net/minecraft/server/EntityMinecart.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/net/minecraft/server/EntityMinecart.java b/src/main/java/net/minecraft/server/EntityMinecart.java
index 07b3d438..d28adc0f 100644
--- a/src/main/java/net/minecraft/server/EntityMinecart.java
+++ b/src/main/java/net/minecraft/server/EntityMinecart.java
@@ -133,12 +133,12 @@ public class EntityMinecart extends Entity implements IInventory, CraftMappable
H = J / 2.0F;
M = false;
- handleCreation(world); // CraftBukkit
// CraftBukkit start
CraftServer server = ((WorldServer) this.l).getServer();
this.bukkitEntity = new CraftMinecart(server, this);
this.bukkitPoweredMinecart = new CraftPoweredMinecart(server, this);
this.bukkitStorageMinecart = new CraftStorageMinecart(server, this);
+ handleCreation(world);
// CraftBukkit end
}
@@ -166,8 +166,6 @@ public class EntityMinecart extends Entity implements IInventory, CraftMappable
n = d2;
o = d3;
d = i;
-
- handleCreation(world); // CraftBukkit
}
// CraftBukkit start