From 8c91ee9c51d92fb3afb766cdb0fdcfdae86daaea Mon Sep 17 00:00:00 2001 From: tahg Date: Fri, 21 Jan 2011 18:46:15 -0800 Subject: [PATCH] Reordered calls to fix use before assignment issue --- src/main/java/net/minecraft/server/EntityMinecart.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/net/minecraft/server/EntityMinecart.java b/src/main/java/net/minecraft/server/EntityMinecart.java index 07b3d43877..d28adc0f9e 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