Browse Source

Added output to getUseMessage()

remotes/origin/fight-engine
fdai7430 2 years ago
parent
commit
9d58257ab8
  1. 6
      src/main/java/org/bitbiome/commands/UseCommand.java

6
src/main/java/org/bitbiome/commands/UseCommand.java

@ -9,6 +9,10 @@ public class UseCommand implements CommandAPI {
} }
private String getUseMessage(String msg) { private String getUseMessage(String msg) {
return "";
String message[] = msg.split(" on ");
String returnString = "You used " + msg;
if(message.length == 1)
returnString+=" on yourself";
return returnString;
} }
} }
Loading…
Cancel
Save