Some reformat code for 1.11.2 source (#84)

* Optimized imports

* Some code reformat

* Some refactoring and code reformat

* Some code reformat
This commit is contained in:
Alexander Kornilov authored and mezz committed 2017-06-01 00:48:08 -07:00
1 parent 886c36a308
commit c3809fbc27
508 files changed
+6677 -6238

No files matched your search

@@ -50,7 +50,7 @@ public class ItemDatabase extends ItemCore {
}
Genetics.proxy.openGui(id, player, player.getPosition());
return new ActionResult(EnumActionResult.PASS, itemStack);
}
@@ -58,8 +58,8 @@ public class ItemDatabase extends ItemCore {
public String getItemStackDisplayName(ItemStack itemStack) {
return Genetics.proxy.localise(isMaster(itemStack) ? "item.database.master.name" : "item.database.name");
}
protected boolean isMaster(ItemStack itemStack){
protected boolean isMaster(ItemStack itemStack) {
return itemStack.getItemDamage() > 0;
}
}