mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 07:19:56 +03:00
12 lines
496 B
Diff
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);
|
|
|