Update for Minecraft 1.10

Dieser Commit ist enthalten in:
Minecrell 2016-06-19 12:58:28 +02:00 committet von wizjany
Ursprung 92c4a145a6
Commit ed8f18564a
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

Datei anzeigen

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

Datei anzeigen

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