X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Frhynodge%2Floader%2FChainWatcher.java;h=411e137a42e72fd802f1c08160f01b9f24550be3;hb=39b2b9099f09bb8dc7061eabc28333d35e557044;hp=f0b1215e6eb47b66e5611085a2ee8249c2073c41;hpb=7a3f188160f404826e3698f2132855c6fd41d8da;p=rhynodge.git diff --git a/src/main/java/net/pterodactylus/rhynodge/loader/ChainWatcher.java b/src/main/java/net/pterodactylus/rhynodge/loader/ChainWatcher.java index f0b1215..411e137 100644 --- a/src/main/java/net/pterodactylus/rhynodge/loader/ChainWatcher.java +++ b/src/main/java/net/pterodactylus/rhynodge/loader/ChainWatcher.java @@ -171,7 +171,7 @@ public class ChainWatcher extends AbstractExecutionThreadService { for (Entry loadedChain : loadedChains.entrySet()) { /* skip chains that still exist. */ - if (enabledChains.containsKey(loadedChain.getKey())) { + if (loadedChains.containsValue(loadedChain.getValue())) { continue; }