Update to Minecraft 1.10.2

This commit is contained in:
Minecrell
2016-06-28 10:40:42 +02:00
committed by wizjany
parent ed8f18564a
commit b99ea5ec6c
2 changed files with 4 additions and 4 deletions

View File

@ -97,7 +97,7 @@ final class TileEntityUtils {
static void setTileEntity(World world, Vector position, @Nullable NBTTagCompound tag) {
if (tag != null) {
updateForSet(tag, position);
TileEntity tileEntity = TileEntity.func_190200_a(world, tag);
TileEntity tileEntity = TileEntity.create(world, tag);
if (tileEntity != null) {
world.setTileEntity(new BlockPos(position.getBlockX(), position.getBlockY(), position.getBlockZ()), tileEntity);
}