Files
CatServer/patches/net/minecraft/command/server/CommandSetBlock.java.patch
2019-02-24 22:29:41 +08:00

12 lines
496 B
Diff

--- ../src-base/minecraft/net/minecraft/command/server/CommandSetBlock.java
+++ ../src-work/minecraft/net/minecraft/command/server/CommandSetBlock.java
@@ -70,7 +70,7 @@
NBTTagCompound nbttagcompound = new NBTTagCompound();
boolean flag = false;
- if (args.length >= 7 && block.hasTileEntity())
+ if (args.length >= 7 && block.hasTileEntity(iblockstate))
{
String s = buildString(args, 6);