From faf6ec53ef7b6876452f87c34b6f0a83cfceed6e Mon Sep 17 00:00:00 2001 From: fdai7430 Date: Sat, 28 Jan 2023 14:35:57 +0100 Subject: [PATCH] refactoring: Added access modifier for enemies ArrayList --- src/main/java/org/bitbiome/commands/UseCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bitbiome/commands/UseCommand.java b/src/main/java/org/bitbiome/commands/UseCommand.java index 52ac913..a25a279 100644 --- a/src/main/java/org/bitbiome/commands/UseCommand.java +++ b/src/main/java/org/bitbiome/commands/UseCommand.java @@ -7,7 +7,7 @@ import org.bitbiome.classes.*; import org.bitbiome.entities.*; public class UseCommand implements CommandAPI { -ArrayList enemies = new ArrayList(); +private ArrayList enemies = new ArrayList(); @Override public void performCommand(Scanner scanner, boolean isRunning, String message, TravelEngine engine) {