Update forge, fix container not giving the localized name for rendering

This commit is contained in:
Bernhard Bonigl committed 2016-03-29 19:12:59 +02:00
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;
}