mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 13:09:53 +00:00
A little care taken for scanning a keyset
This commit is contained in:
1 parent
aeb7671387
commit
5f9cb06963
1 file changed
+3
-1
@@ -680,8 +680,10 @@ public class SignalBusLogic extends MultiblockBaseLogic implements IActiveLogic,
|
||||
|
||||
public void notifyBreak ()
|
||||
{
|
||||
CoordTuple[] scan = new CoordTuple[transceivers.keySet().size()];
|
||||
scan = transceivers.keySet().toArray(scan);
|
||||
TileEntity te;
|
||||
for (CoordTuple coord : transceivers.keySet())
|
||||
for (CoordTuple coord : scan)
|
||||
{
|
||||
te = worldObj.getBlockTileEntity(coord.x, coord.y, coord.z);
|
||||
if (te instanceof ISignalTransceiver)
|
||||
|
||||
Reference in new issue
Block a user