Skip to content

Commit ba63193

Browse files
committed
Fix wrong consumer being called
1 parent 2ea08c0 commit ba63193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/de/bluecolored/bluemap/api/BlueMapAPI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ protected static boolean unregisterInstance(BlueMapAPI instance) throws Exceptio
224224
synchronized (BlueMapAPI.class) {
225225
if (BlueMapAPI.instance != instance) return false;
226226
BlueMapAPI.instance = null;
227-
consumersToCall = List.copyOf(onEnableConsumers);
227+
consumersToCall = List.copyOf(onDisableConsumers);
228228
}
229229

230230
return callConsumers(instance, consumersToCall);

0 commit comments

Comments
 (0)