From 4764a8947e69a902f870dcfe64457e2c14a9a541 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Sat, 2 Nov 2024 18:31:28 +0700 Subject: [PATCH] refactor: make maps in PositionPlugin public for access with servereval --- .../me/chayapak1/chomens_bot/plugins/PositionPlugin.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/me/chayapak1/chomens_bot/plugins/PositionPlugin.java b/src/main/java/me/chayapak1/chomens_bot/plugins/PositionPlugin.java index 2a6fe43..fb5b151 100644 --- a/src/main/java/me/chayapak1/chomens_bot/plugins/PositionPlugin.java +++ b/src/main/java/me/chayapak1/chomens_bot/plugins/PositionPlugin.java @@ -30,9 +30,9 @@ public class PositionPlugin extends Bot.Listener { public Vector3i position = Vector3i.from(0, 0, 0); - private final Map entityIdMap = new HashMap<>(); - private final Map positionMap = new HashMap<>(); - private final Map rotationMap = new HashMap<>(); + public final Map entityIdMap = new HashMap<>(); + public final Map positionMap = new HashMap<>(); + public final Map rotationMap = new HashMap<>(); public PositionPlugin (Bot bot) { this.bot = bot;