diff --git a/src/main/java/org/bitbiome/commands/UseCommand.java b/src/main/java/org/bitbiome/commands/UseCommand.java index bf09152..8c4d555 100644 --- a/src/main/java/org/bitbiome/commands/UseCommand.java +++ b/src/main/java/org/bitbiome/commands/UseCommand.java @@ -13,6 +13,22 @@ public class UseCommand implements CommandAPI { System.out.println(getUseMessage(message.split(" ", 2)[1], engine)); if(engine.getPlayer().getHp() <= 0) System.exit(0); + Location loc = engine.getPlayer().getLocation(); + ArrayList mobs = loc.getMobList(); + for(int i = 0; i 0); }