From 30eb15b339ac6d7594b9deb921d937e363731189 Mon Sep 17 00:00:00 2001 From: Ryder Belserion Date: Tue, 10 Dec 2024 22:25:35 -0500 Subject: [PATCH] remove unneeded elvis operator --- .../crazycrates/listeners/crates/types/CosmicCrateListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper/src/main/java/com/badbones69/crazycrates/listeners/crates/types/CosmicCrateListener.java b/paper/src/main/java/com/badbones69/crazycrates/listeners/crates/types/CosmicCrateListener.java index e88389fa5..b8c1fab33 100644 --- a/paper/src/main/java/com/badbones69/crazycrates/listeners/crates/types/CosmicCrateListener.java +++ b/paper/src/main/java/com/badbones69/crazycrates/listeners/crates/types/CosmicCrateListener.java @@ -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);