refactor: make maps in PositionPlugin public for access with servereval

This commit is contained in:
ChomeNS
2024-11-02 18:31:28 +07:00
parent b3615770dc
commit 4764a8947e

View File

@@ -30,9 +30,9 @@ public class PositionPlugin extends Bot.Listener {
public Vector3i position = Vector3i.from(0, 0, 0);
private final Map<Integer, PlayerEntry> entityIdMap = new HashMap<>();
private final Map<Integer, Vector3f> positionMap = new HashMap<>();
private final Map<Integer, Rotation> rotationMap = new HashMap<>();
public final Map<Integer, PlayerEntry> entityIdMap = new HashMap<>();
public final Map<Integer, Vector3f> positionMap = new HashMap<>();
public final Map<Integer, Rotation> rotationMap = new HashMap<>();
public PositionPlugin (Bot bot) {
this.bot = bot;