fix merge error (git kraken bug)
This commit is contained in:
parent
e39749be11
commit
0cfce11a75
1 changed files with 1 additions and 1 deletions
|
@ -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 "-";
|
||||||
|
|
Loading…
Reference in a new issue