Use keyset instead of entryset

This commit is contained in:
KennyTV 2019-01-20 15:03:47 +01:00
parent 7f7dcffdf0
commit 8e47497edb

View File

@ -175,8 +175,8 @@ public class ConnectionData {
initActions.add(FlowerConnectionHandler.init());
initActions.addAll(ChorusPlantConnectionHandler.init());
initActions.add(TripwireConnectionHandler.init());
for (Entry<String, Integer> entry : keyToId.entrySet()) {
WrappedBlockData wrappedBlockData = WrappedBlockData.fromString(entry.getKey());
for (String key : keyToId.keySet()) {
WrappedBlockData wrappedBlockData = WrappedBlockData.fromString(key);
for (ConnectorInitAction action : initActions) {
action.check(wrappedBlockData);
}