mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 15:03:04 +00:00
Patches and rejected patches. Note: some which had imports are not listed here because they need
to be refactored not to have imports. Progress: https://gist.github.com/cpw/29695e426e2b122cf8ff
This commit is contained in:
1 parent
1a6c816bac
commit
98125a97c9
409 files changed
+16902
No files matched your search
@@ -0,0 +1,20 @@
|
||||
--- ../src-base/minecraft/net/minecraft/command/server/CommandSetBlock.java
|
||||
+++ ../src-work/minecraft/net/minecraft/command/server/CommandSetBlock.java
|
||||
@@ -54,6 +54,8 @@
|
||||
i = parseInt(args[4], 0, 15);
|
||||
}
|
||||
|
||||
+ IBlockState state = block.getStateFromMeta(i);
|
||||
+
|
||||
World world = sender.getEntityWorld();
|
||||
|
||||
if (!world.isBlockLoaded(blockpos))
|
||||
@@ -65,7 +67,7 @@
|
||||
NBTTagCompound nbttagcompound = new NBTTagCompound();
|
||||
boolean flag = false;
|
||||
|
||||
- if (args.length >= 7 && block.hasTileEntity())
|
||||
+ if (args.length >= 7 && block.hasTileEntity(state))
|
||||
{
|
||||
String s = getChatComponentFromNthArg(sender, args, 6).getUnformattedText();
|
||||
|
||||
Reference in new issue
Block a user