From b99ea5ec6cc898874dbe1d2792791f6a42d64f49 Mon Sep 17 00:00:00 2001 From: Minecrell Date: Tue, 28 Jun 2016 10:40:42 +0200 Subject: [PATCH] Update to Minecraft 1.10.2 --- worldedit-sponge/build.gradle | 6 +++--- .../com/sk89q/worldedit/sponge/nms/TileEntityUtils.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/worldedit-sponge/build.gradle b/worldedit-sponge/build.gradle index 95a557594..d2c2db64d 100644 --- a/worldedit-sponge/build.gradle +++ b/worldedit-sponge/build.gradle @@ -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' } diff --git a/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/nms/TileEntityUtils.java b/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/nms/TileEntityUtils.java index e6b3a2b73..32b9a8be3 100644 --- a/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/nms/TileEntityUtils.java +++ b/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/nms/TileEntityUtils.java @@ -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); }