Skip to content

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Snabeldier committed Jan 26, 2025
1 parent 488a2bb commit 9c8eab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/minevalley/core/api/Core.java
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ public static ItemBuilder createItem(@Nonnull Player player) throws IllegalArgum
@Nonnull
@Contract("_ -> new")
public static ItemBuilder createItem(@Nonnull OnlineUser user) throws IllegalArgumentException {
return server.createItem(user.getPlayer());
return server.createItem(user.player());
}

/**
Expand Down

0 comments on commit 9c8eab0

Please sign in to comment.