mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-19 19:49:41 +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
+2
-2
@@ -1,7 +1,7 @@
|
||||
mod_version=0.9.2
|
||||
minecraft_version=1.9
|
||||
forge_version=12.16.0.1804-1.9
|
||||
forge_version=12.16.0.1811-1.9
|
||||
mappings=snapshot_20160324
|
||||
|
||||
jei_version=3.0.+
|
||||
jei_version=3.1.+
|
||||
configurate_version=2.0
|
||||
@@ -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