From 9285a2ffdc9729f7b3c6917e44fdc68fc2d253c9 Mon Sep 17 00:00:00 2001 From: Alkalus <3060479+draknyte1@users.noreply.github.com> Date: Sun, 27 May 2018 12:48:44 +1000 Subject: + Added a custom ItemEntity for the Large Chicken Eggs, they now hatch in world. + Added a custom Mutagen Fluid used in making Large Eggs. $ Fixed some issue with BlockPos object having invalid worlds. --- src/Java/gtPlusPlus/core/util/minecraft/EntityUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Java/gtPlusPlus/core/util') diff --git a/src/Java/gtPlusPlus/core/util/minecraft/EntityUtils.java b/src/Java/gtPlusPlus/core/util/minecraft/EntityUtils.java index 10d14d3d34..d2781dfc48 100644 --- a/src/Java/gtPlusPlus/core/util/minecraft/EntityUtils.java +++ b/src/Java/gtPlusPlus/core/util/minecraft/EntityUtils.java @@ -49,7 +49,7 @@ public class EntityUtils { final int blockX = MathHelper.floor_double(parEntity.posX); final int blockY = MathHelper.floor_double(parEntity.boundingBox.minY)-1; final int blockZ = MathHelper.floor_double(parEntity.posZ); - return new BlockPos(blockX, blockY, blockZ); + return new BlockPos(blockX, blockY, blockZ, parEntity.worldObj); } //TODO -- cgit