Update for Minecraft 1.10

This commit is contained in:
Minecrell 2016-06-19 12:58:28 +02:00 committed by wizjany
parent 92c4a145a6
commit ed8f18564a
2 changed files with 3 additions and 3 deletions

View File

@ -35,8 +35,8 @@ sponge {
}
minecraft {
version = "1.9.4"
mappings = 'snapshot_20160521'
version = "1.10"
mappings = 'snapshot_20160619'
runDir = 'run'
}

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.create(tag);
TileEntity tileEntity = TileEntity.func_190200_a(world, tag);
if (tileEntity != null) {
world.setTileEntity(new BlockPos(position.getBlockX(), position.getBlockY(), position.getBlockZ()), tileEntity);
}