Browse Source

Removed integer input.

master
MagicBot 1 year ago
parent
commit
81fe6c4e2a
  1. 22
      src/engine/devcmd/cmds/SimulateBootyCmd.java

22
src/engine/devcmd/cmds/SimulateBootyCmd.java

@ -18,33 +18,11 @@ public class SimulateBootyCmd extends AbstractDevCmd {
protected void _doCmd(PlayerCharacter playerCharacter, String[] words, protected void _doCmd(PlayerCharacter playerCharacter, String[] words,
AbstractGameObject target) { AbstractGameObject target) {
// Arg Count Check
if (words.length != 1) {
this.sendUsage(playerCharacter);
return;
}
if (playerCharacter == null) if (playerCharacter == null)
return; return;
String newline = "\r\n "; String newline = "\r\n ";
int targetID = Integer.parseInt(words[0]);
Mob mobile = Mob.getMob(targetID);
if (mobile == null)
throwbackError(playerCharacter, "Mobile with ID " + targetID
+ " not found");
else
target = mobile;
if (target == null) {
throwbackError(playerCharacter, "Select or supply valid mobile uuid");
return;
}
String output; String output;
output = "Booty Simulation:" + newline; output = "Booty Simulation:" + newline;

Loading…
Cancel
Save