mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 04:09:40 +00:00
Serverside the distributor. Closes #63
This commit is contained in:
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));
|
||||
|
||||
Reference in new issue
Block a user