mirror of
https://github.com/GTNewHorizons/bdlib.git
synced 2026-11-12 00:07:31 +00:00
Fixed DataSlotTank not changing to empty state
This commit is contained in:
1 parent
c4dbda8a20
commit
0b94b006ec
1 file changed
+1
@@ -42,6 +42,7 @@ abstract class DataSlotTankBase(sz: Int) extends FluidTank(sz) with IFluidTank w
|
||||
}
|
||||
|
||||
def load(t: NBTTagCompound, k: UpdateKind.Value) {
|
||||
setFluid(null)
|
||||
val tag = t.getCompoundTag(name)
|
||||
readFromNBT(tag)
|
||||
if (k == UpdateKind.GUI)
|
||||
|
||||
Reference in new issue
Block a user