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

@ -14,7 +14,7 @@ buildscript {
}
plugins {
id 'org.spongepowered.plugin' version '0.5.2'
id 'org.spongepowered.plugin' version '0.6'
}
apply plugin: 'net.minecrell.vanilla.server.library'
@ -35,8 +35,8 @@ sponge {
}
minecraft {
version = "1.10"
mappings = 'snapshot_20160619'
version = "1.10.2"
mappings = 'snapshot_20160628'
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.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);
}