mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-16 01:55:06 +00:00
21 lines
803 B
Diff
21 lines
803 B
Diff
--- ../src-base/minecraft/net/minecraft/command/server/CommandSetBlock.java
|
|
+++ ../src-work/minecraft/net/minecraft/command/server/CommandSetBlock.java
|
|
@@ -54,6 +54,8 @@
|
|
i = func_175764_a(p_184881_3_[4], 0, 15);
|
|
}
|
|
|
|
+ IBlockState state = block.func_176203_a(i);
|
|
+
|
|
World world = p_184881_2_.func_130014_f_();
|
|
|
|
if (!world.func_175667_e(blockpos))
|
|
@@ -65,7 +67,7 @@
|
|
NBTTagCompound nbttagcompound = new NBTTagCompound();
|
|
boolean flag = false;
|
|
|
|
- if (p_184881_3_.length >= 7 && block.func_149716_u())
|
|
+ if (p_184881_3_.length >= 7 && block.hasTileEntity(state))
|
|
{
|
|
String s = func_147178_a(p_184881_2_, p_184881_3_, 6).func_150260_c();
|
|
|