mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-19 03:49:07 +00:00
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:
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user