Serverside the distributor. Closes #63

This commit is contained in:
Vincent Lee committed 2016-01-21 21:30:22 -06:00
1 parent 071bcefa6f
commit 98620bb1c5
1 file changed
+3 -1
@@ -24,10 +24,12 @@ import vazkii.botania.common.lib.LibMisc;
public class TileDistributor extends TileMod implements IManaReceiver {
List<IManaReceiver> validPools = new ArrayList();
List<IManaReceiver> validPools = new ArrayList<>();
@Override
public void updateEntity() {
if (worldObj.isRemote)
return;
validPools.clear();
for(EnumFacing dir : LibMisc.CARDINAL_DIRECTIONS) {
TileEntity tileAt = worldObj.getTileEntity(pos.offset(dir));