From df1d57aa8b77f319856c2f5f88a12edc1f308a49 Mon Sep 17 00:00:00 2001 From: fdai7430 Date: Sat, 4 Feb 2023 18:14:43 +0100 Subject: [PATCH] Added output to runaway command --- src/main/java/org/bitbiome/commands/RunAwayCommand.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/bitbiome/commands/RunAwayCommand.java b/src/main/java/org/bitbiome/commands/RunAwayCommand.java index 882223a..0e5b9bf 100644 --- a/src/main/java/org/bitbiome/commands/RunAwayCommand.java +++ b/src/main/java/org/bitbiome/commands/RunAwayCommand.java @@ -8,8 +8,11 @@ public class RunAwayCommand implements CommandAPI { @Override public void performCommand(Scanner scanner, boolean isRunning, String message, TravelEngine travelEngine) { - // TODO Auto-generated method stub - + System.out.println(getRunAwayMessage()); + } + + public String getRunAwayMessage() { + return "You can only run away when you're fighting someone."; } }