code refactoring
This commit is contained in:
parent
fc9db70d90
commit
1829e2a80b
17 changed files with 84 additions and 65 deletions
|
@ -70,7 +70,8 @@ public class ClientBuildCommand implements TabExecutor, Listener {
|
|||
sender.sendMessage("You do not have any temporary blocks to save.");
|
||||
return;
|
||||
}
|
||||
HashMap<Location, BlockData> blocks = clientBuildManager.getTemporaryBlocks(p);
|
||||
HashMap<Location, BlockData> blocks =
|
||||
(HashMap<Location, BlockData>) clientBuildManager.getTemporaryBlocks(p);
|
||||
log("blocks: " + blocks.size());
|
||||
for (Entry<Location, BlockData> block : blocks.entrySet()) {
|
||||
build.addBlock(block.getKey(), block.getValue());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue