Skip to content

Commit

Permalink
remove unneeded elvis operator
Browse files Browse the repository at this point in the history
  • Loading branch information
ryderbelserion committed Dec 11, 2024
1 parent c96e4e9 commit 30eb15b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ public void run() {
// Check if event is cancelled.
if (!event.isCancelled()) {
// Add the keys
userManager.addKeys(uuid, fileName, type == null ? KeyType.virtual_key : type, 1);
userManager.addKeys(uuid, fileName, type, 1);

// Remove opening stuff.
crateManager.removePlayerFromOpeningList(player);
Expand Down

0 comments on commit 30eb15b

Please sign in to comment.