From 8e47497edbae37e00beaad3826835df866007791 Mon Sep 17 00:00:00 2001 From: KennyTV <28825609+KennyTV@users.noreply.github.com> Date: Sun, 20 Jan 2019 15:03:47 +0100 Subject: [PATCH] Use keyset instead of entryset --- .../protocol1_13to1_12_2/blockconnections/ConnectionData.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/blockconnections/ConnectionData.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/blockconnections/ConnectionData.java index a457313ee..95b4655a5 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/blockconnections/ConnectionData.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/blockconnections/ConnectionData.java @@ -175,8 +175,8 @@ public class ConnectionData { initActions.add(FlowerConnectionHandler.init()); initActions.addAll(ChorusPlantConnectionHandler.init()); initActions.add(TripwireConnectionHandler.init()); - for (Entry 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); }