Refactoring custom GUI components

This commit is contained in:
kordum committed 2017-06-29 11:25:44 +03:00
1 parent e83d0e3fa6
commit 2475710a6a
70 files changed
+353 -343

No files matched your search

@@ -218,7 +218,7 @@ public class BlockETDoor extends BlockDoor implements IBlockMetadata {
int meta = TileEntityMetadata.getItemDamage(stack);
String typeName = getDoorType(meta).getName();
String woodName = WoodManager.getPlankType(meta & 0xFF).getName();
if (typeName.equals("")) {
if (typeName.isEmpty()) {
return I18N.localise("extratrees.block.door.name", woodName);
}
return I18N.localise("extratrees.block.door.name.adv", woodName, typeName);