mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-26 06:52:58 +00:00
getting really close
This commit is contained in:
1 parent
8ae89ba70e
commit
7c0fc5ed4a
21 files changed
+39
-39
No files matched your search
@@ -59,7 +59,7 @@ public class TileEntityLandmine extends TileEntity implements IInventory
|
||||
|
||||
par1NBTTagCompound.setInteger("triggerType", triggerType);
|
||||
|
||||
if (this.isInvNameLocalized())
|
||||
if (this.func_145818_k_())
|
||||
{
|
||||
par1NBTTagCompound.setString("CustomName", this.containerName);
|
||||
}
|
||||
@@ -181,13 +181,13 @@ public class TileEntityLandmine extends TileEntity implements IInventory
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getInvName ()
|
||||
public String func_145825_b ()
|
||||
{
|
||||
return this.isInvNameLocalized() ? this.containerName : "Landmine";
|
||||
return this.func_145818_k_() ? this.containerName : "Landmine";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isInvNameLocalized ()
|
||||
public boolean func_145818_k_ ()
|
||||
{
|
||||
return containerName != null && containerName.length() > 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user