Skip to content

Commit

Permalink
fix Carpet_PlayerCommandMixin returning value
Browse files Browse the repository at this point in the history
  • Loading branch information
wendavid552 authored Sep 21, 2024
1 parent 3210cdb commit c8b72e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public abstract class Carpet_PlayerCommandMixin {
target = "Lnet/minecraft/util/UserCache;findByName(Ljava/lang/String;)Ljava/util/Optional;"
)
)
private static Optional<GameProfile> useOfflinePlayerUuid(UserCache userCache, String playerName, Operation<GameProfile> original) {
private static Optional<GameProfile> useOfflinePlayerUuid(UserCache userCache, String playerName, Operation<Optional<GameProfile>> original) {
return
AmsServerSettings.fakePlayerUseOfflinePlayerUUID ?
//#if MC>=11900
Expand Down

0 comments on commit c8b72e5

Please sign in to comment.