Skip to content

Commit

Permalink
revert: carpet async player exploit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ishland committed Apr 4, 2024
1 parent bf6c6e4 commit 3670ad1
Showing 1 changed file with 0 additions and 6 deletions.
Expand Up @@ -46,10 +46,4 @@ private void redirectUpdatePosition(ServerChunkManager serverChunkManager, Serve
}
}

@Dynamic
@ModifyExpressionValue(method = "createFake", at = @At(value = "INVOKE", target = "Lcarpet/patches/EntityPlayerMPFake;fetchGameProfile(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;"), require = 0)
private static CompletableFuture<Optional<GameProfile>> modifyGameProfileFuture(CompletableFuture<Optional<GameProfile>> original, String username, MinecraftServer server) {
return original.thenApplyAsync(Function.identity(), server);
}

}

0 comments on commit 3670ad1

Please sign in to comment.