From 0cfce11a75b5f9b5ef33f819209505febe216420 Mon Sep 17 00:00:00 2001 From: bobby29831 Date: Tue, 24 May 2022 14:10:02 -0500 Subject: [PATCH] fix merge error (git kraken bug) --- .../java/net/tylermurphy/hideAndSeek/util/PAPIExpansion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/tylermurphy/hideAndSeek/util/PAPIExpansion.java b/src/main/java/net/tylermurphy/hideAndSeek/util/PAPIExpansion.java index 92fed1e..2a98433 100644 --- a/src/main/java/net/tylermurphy/hideAndSeek/util/PAPIExpansion.java +++ b/src/main/java/net/tylermurphy/hideAndSeek/util/PAPIExpansion.java @@ -47,8 +47,8 @@ public class PAPIExpansion extends PlaceholderExpansion { if (info.isPresent()) { switch (args[0]) { case "stats": - case "rank-place": return getValue(info.get(), args[1]); + case "rank-place": if (getRanking(args[1]) == null) return placeholderError; Integer count = database.getGameData().getRanking(getRanking(args[1]), player.getUniqueId()); if (getValue(info.get(), args[1]).equals("0")) return "-";