mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-15 04:41:37 +08:00
Update for Minecraft 1.10
This commit is contained in:
parent
92c4a145a6
commit
ed8f18564a
@ -35,8 +35,8 @@ compile project(':worldedit-core')
|
||||
}
|
||||
|
||||
minecraft {
|
||||
version = "1.9.4"
|
||||
mappings = 'snapshot_20160521'
|
||||
version = "1.10"
|
||||
mappings = 'snapshot_20160619'
|
||||
runDir = 'run'
|
||||
}
|
||||
|
||||
|
@ -97,7 +97,7 @@ static void setTileEntity(World world, Vector position, Class<? extends TileEnti
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user