Update to minecraft version 1.9.4
This commit is contained in:
parent
7d95dea783
commit
74d500a2fd
47 changed files with 176 additions and 151 deletions
|
@ -61,12 +61,6 @@ public class TileIDSU extends TilePowerAcceptor implements IWrenchable
|
|||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeToNBTWithoutCoords(NBTTagCompound tag)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public double getMaxPower()
|
||||
{
|
||||
|
@ -120,14 +114,15 @@ public class TileIDSU extends TilePowerAcceptor implements IWrenchable
|
|||
this.ownerUdid = nbttagcompound.getString("ownerUdid");
|
||||
}
|
||||
|
||||
public void writeToNBT(NBTTagCompound nbttagcompound)
|
||||
public NBTTagCompound writeToNBT(NBTTagCompound nbttagcompound)
|
||||
{
|
||||
super.writeToNBT(nbttagcompound);
|
||||
if (ownerUdid == null && StringUtils.isBlank(ownerUdid) || StringUtils.isEmpty(ownerUdid))
|
||||
{
|
||||
return;
|
||||
return nbttagcompound;
|
||||
}
|
||||
nbttagcompound.setString("ownerUdid", this.ownerUdid);
|
||||
return nbttagcompound;
|
||||
}
|
||||
|
||||
public void updateEntity()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue