aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/common/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common/helpers')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/helpers/CraftingHelper.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/helpers/CraftingHelper.java b/src/Java/gtPlusPlus/xmod/gregtech/common/helpers/CraftingHelper.java
index 4fb2cd1aa4..e06636e168 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/helpers/CraftingHelper.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/helpers/CraftingHelper.java
@@ -32,7 +32,8 @@ public class CraftingHelper{
mPosY = AC.getBaseMetaTileEntity().getYCoord();
mPosZ = AC.getBaseMetaTileEntity().getZCoord();
//Create Fake player to handle crating.
- player = FakePlayerFactory.get((WorldServer) world, CORE.gameProfile);
+
+ player = CORE.getFakePlayer(world);
//Set storage container
inventory = new AC_Helper_Container(player.inventory, world, mPosX, mPosY, mPosZ);
mInventoryName = inventory.getMatrix().getInventoryName();