fix merge error (git kraken bug)

This commit is contained in:
bobby29831 2022-05-24 14:10:02 -05:00
parent e39749be11
commit 0cfce11a75

View file

@ -47,8 +47,8 @@ public class PAPIExpansion extends PlaceholderExpansion {
if (info.isPresent()) { if (info.isPresent()) {
switch (args[0]) { switch (args[0]) {
case "stats": case "stats":
case "rank-place":
return getValue(info.get(), args[1]); return getValue(info.get(), args[1]);
case "rank-place":
if (getRanking(args[1]) == null) return placeholderError; if (getRanking(args[1]) == null) return placeholderError;
Integer count = database.getGameData().getRanking(getRanking(args[1]), player.getUniqueId()); Integer count = database.getGameData().getRanking(getRanking(args[1]), player.getUniqueId());
if (getValue(info.get(), args[1]).equals("0")) return "-"; if (getValue(info.get(), args[1]).equals("0")) return "-";