mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 00:07:45 +00:00
Updated FML:
MinecraftForge/FML@9c8ca4a4e3 Unlink banner block and item id. Mojang should of matched these up but they didn't -.- MinecraftForge/FML@84a101f344 Update Dev mcp mappings to 11-30 snapshot.
This commit is contained in:
1 parent
4caf09cd33
commit
59df94bd90
17 files changed
+70
-63
No files matched your search
@@ -57,7 +57,7 @@ public class ClientCommandHandler extends CommandHandler
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (icommand.canCommandSenderUseCommand(sender))
|
||||
if (icommand.canCommandSenderUse(sender))
|
||||
{
|
||||
CommandEvent event = new CommandEvent(icommand, sender, args);
|
||||
if (MinecraftForge.EVENT_BUS.post(event))
|
||||
@@ -69,7 +69,7 @@ public class ClientCommandHandler extends CommandHandler
|
||||
return 0;
|
||||
}
|
||||
|
||||
icommand.processCommand(sender, args);
|
||||
icommand.execute(sender, args);
|
||||
return 1;
|
||||
}
|
||||
else
|
||||
@@ -79,11 +79,11 @@ public class ClientCommandHandler extends CommandHandler
|
||||
}
|
||||
catch (WrongUsageException wue)
|
||||
{
|
||||
sender.addChatMessage(format(RED, "commands.generic.usage", format(RED, wue.getMessage(), wue.getErrorOjbects())));
|
||||
sender.addChatMessage(format(RED, "commands.generic.usage", format(RED, wue.getMessage(), wue.getErrorObjects())));
|
||||
}
|
||||
catch (CommandException ce)
|
||||
{
|
||||
sender.addChatMessage(format(RED, ce.getMessage(), ce.getErrorOjbects()));
|
||||
sender.addChatMessage(format(RED, ce.getMessage(), ce.getErrorObjects()));
|
||||
}
|
||||
catch (Throwable t)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user