Skip to content

Commit e58e035

Browse files
committed
Fix variable reference
1 parent 7434057 commit e58e035

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/java/com/github/fernthedev/fernapi/universal/util/network/vanish/VanishProxyCheck.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ public void onMessageReceived(PluginMessageData data, Channel channel) {
133133

134134
VanishProxyCheck vanishProxyCheck = instances.get(uuidCheck);
135135
if (vanishProxyCheck != null) {
136-
completableFuture.complete(new VanishProxyResponse(vanishProxyCheck.player, vanished, false));
137-
Universal.getScheduler().runAsync(() -> vanishFunction.run(vanishProxyCheck.player, vanished, false));
136+
vanishProxyCheck.completableFuture.complete(new VanishProxyResponse(vanishProxyCheck.player, vanished, false));
137+
Universal.getScheduler().runAsync(() -> vanishProxyCheck.vanishFunction.run(vanishProxyCheck.player, vanished, false));
138138

139139
instances.remove(vanishProxyCheck.uuid);
140140
}

0 commit comments

Comments
 (0)