diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index e2df77a4..14b20339 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -11,6 +11,8 @@ Changes - Localize tile.blockConduitBundle.name to Conduit Connector (tterrag) - Fix WAILA tooltip for dim.trans., was showing channel types even with no channels assigned to them (tterrag) - Dimensional Transceiver send/receive item buffers will only accept one stack per item type +- #1127 Implemented IEnergyContainerItem on the Capacitor Bank item so it can be charged in item form (Tonius) + Bugs - Fix tormented enderman head (and future head variants) dropping damage 0 always (tterrag) @@ -21,6 +23,8 @@ Bugs - #1107 Crash placing machine next to door - #1129 Server crash on placement of Painting Machine - #1128 Server crashes with cauldron when teleporting +- #1112 (new) Dimentional transceiver doesn't save the selected channels on pickup + ------------------------------------------------------ Version 2.1.2 diff --git a/src/main/java/crazypants/enderio/machine/transceiver/TileTransceiver.java b/src/main/java/crazypants/enderio/machine/transceiver/TileTransceiver.java index 3c8fe94d..83f60ef4 100644 --- a/src/main/java/crazypants/enderio/machine/transceiver/TileTransceiver.java +++ b/src/main/java/crazypants/enderio/machine/transceiver/TileTransceiver.java @@ -211,12 +211,14 @@ public class TileTransceiver extends AbstractPoweredTaskEntity implements IFluid @Override public void readCustomNBT(NBTTagCompound nbtRoot) { super.readCustomNBT(nbtRoot); - + currentTask = new ContinuousTask(Config.transceiverUpkeepCostRF); + } + + @Override + public void readCommon(NBTTagCompound nbtRoot) { + super.readCommon(nbtRoot); readChannels(nbtRoot, sendChannels, "sendChannels"); readChannels(nbtRoot, recieveChannels, "recieveChannels"); - - currentTask = new ContinuousTask(Config.transceiverUpkeepCostRF); - } static void readChannels(NBTTagCompound nbtRoot, EnumMap> readInto, String key) { @@ -240,15 +242,14 @@ public class TileTransceiver extends AbstractPoweredTaskEntity implements IFluid } @Override - public void writeCustomNBT(NBTTagCompound nbtRoot) { - super.writeCustomNBT(nbtRoot); - + public void writeCommon(NBTTagCompound nbtRoot) { + super.writeCommon(nbtRoot); + NBTTagList channelTags = createTagList(sendChannels); nbtRoot.setTag("sendChannels", channelTags); channelTags = createTagList(recieveChannels); nbtRoot.setTag("recieveChannels", channelTags); - } static NBTTagList createTagList(EnumMap> chans) {