mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-20 12:19:47 +00:00
Refactoring custom GUI components
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user