Update mappings to stable_39-1.12 (#322)
This commit is contained in:
@@ -160,7 +160,7 @@ public final class ContainerInterfaceTerminal extends AEBaseContainer {
|
||||
}
|
||||
}
|
||||
|
||||
if (!this.data.hasNoTags()) {
|
||||
if (!this.data.isEmpty()) {
|
||||
try {
|
||||
NetworkHandler.instance().sendTo(new PacketCompressedNBT(this.data), (EntityPlayerMP) this.getPlayerInv().player);
|
||||
} catch (final IOException e) {
|
||||
@@ -330,7 +330,7 @@ public final class ContainerInterfaceTerminal extends AEBaseContainer {
|
||||
final String name = '=' + Long.toString(inv.which, Character.MAX_RADIX);
|
||||
final NBTTagCompound tag = data.getCompoundTag(name);
|
||||
|
||||
if (tag.hasNoTags()) {
|
||||
if (tag.isEmpty()) {
|
||||
tag.setLong("sortBy", inv.sortBy);
|
||||
tag.setString("un", inv.unlocalizedName);
|
||||
tag.setTag("pos", NBTUtil.createPosTag(inv.pos));
|
||||
|
||||
Reference in New Issue
Block a user