mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-10-23 01:47:38 +00:00
Update to Minecraft 1.14.4
This commit is contained in:
@@ -20,13 +20,13 @@ public class GuiDiskDrive extends AbstractContainerScreen<ContainerDiskDrive>
|
||||
|
||||
public GuiDiskDrive( ContainerDiskDrive container, PlayerInventory inventory )
|
||||
{
|
||||
super( container, inventory, ComputerCraft.Blocks.diskDrive.getTextComponent() );
|
||||
super( container, inventory, ComputerCraft.Blocks.diskDrive.getName() );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void drawForeground( int par1, int par2 )
|
||||
{
|
||||
String title = getTitle().getFormattedText();
|
||||
String title = getTitle().asFormattedString();
|
||||
font.draw( title, (containerWidth - font.getStringWidth( title )) / 2.0f, 6, 0x404040 );
|
||||
font.draw( I18n.translate( "container.inventory" ), 8, (containerHeight - 96) + 2, 0x404040 );
|
||||
}
|
||||
|
Reference in New Issue
Block a user