mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-18 11:19:20 +00:00
Update forge, fix container not giving the localized name for rendering
This commit is contained in:
1 parent
b4fa2c5a30
commit
3d982387f3
2 files changed
+3
-3
No files matched your search
@@ -101,7 +101,7 @@ public abstract class BaseContainer<T extends TileEntity & IInventory> extends C
|
||||
|
||||
public String getInventoryDisplayName() {
|
||||
if(tile instanceof IInventory) {
|
||||
return tile.getName();
|
||||
return tile.getDisplayName().getFormattedText();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user