Skip to content

Commit

Permalink
Fix NPE in /dump, fix gitattributes
Browse files Browse the repository at this point in the history
Signed-off-by: Ross Allan <rallanpcl@gmail.com>
  • Loading branch information
LunNova committed Jun 1, 2013
1 parent ca749b7 commit 8785a93
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitattributes
@@ -1,2 +1,3 @@
*.bin -crlf
* text=lf

*.bin binary
Binary file removed resources/mappings.bin
Binary file not shown.
Expand Up @@ -47,7 +47,8 @@ public void processCommand(final ICommandSender commandSender, List<String> argu
world = null;
}
if (world == null) {
sendChat(commandSender, "Usage: /dump x y z [world=currentworld]");
sendChat(commandSender, "Usage: /dump x y z [world=currentworld]\nRight clicking a block with a clock will execute /dump on that block.");
return;
}
sendChat(commandSender, dump(new TableFormatter(commandSender), world, x, y, z, commandSender instanceof Entity ? 35 : 70).toString());
}
Expand Down

0 comments on commit 8785a93

Please sign in to comment.