Fixed a bug where restricting Output Hatches caused severe log spam (#1299)

This commit is contained in:
JohannesGaessler 2017-11-24 00:58:42 +01:00 committed by Alkalus
parent d592d19322
commit 5fc136166e

View file

@ -103,7 +103,7 @@ public class GT_MetaTileEntity_Hatch_Output extends GT_MetaTileEntity_Hatch {
public void saveNBTData(NBTTagCompound aNBT) { public void saveNBTData(NBTTagCompound aNBT) {
super.saveNBTData(aNBT); super.saveNBTData(aNBT);
aNBT.setByte("mMode", mMode); aNBT.setByte("mMode", mMode);
aNBT.setString("lockedFluidName", lockedFluidName); aNBT.setString("lockedFluidName", lockedFluidName == null ? "" : lockedFluidName);
} }
@Override @Override