Fixed possible issue with sendingFace persistence.

This commit is contained in:
drcrazy 2018-04-25 11:01:55 +03:00
parent 008a1ad11f
commit 05a1f95fa1

View file

@ -143,6 +143,7 @@ public class TileCable extends TileEntity implements ITickable, IEnergyStorage,
ArrayList<IEnergyStorage> acceptors = new ArrayList<IEnergyStorage>();
ArrayList<TileCable> cables = new ArrayList<TileCable>();
sendingFace.clear();
for (EnumFacing face : EnumFacing.VALUES) {
TileEntity tile = world.getTileEntity(pos.offset(face));