Fix too much machines being added to machine list

This commit is contained in:
Raoul Van den Berge
2016-05-20 21:03:10 +02:00
parent f2db05c581
commit bed5c26f4b
3 changed files with 18 additions and 9 deletions

View File

@@ -111,7 +111,6 @@ public class TileController extends TileBase implements IEnergyReceiver, ISynchr
super.update();
if (!worldObj.isRemote) {
// Prevent cache from re-adding the block
for (TileMachine machine : machinesToAdd) {
if (!machines.contains(machine)) {
machines.add(machine);