refactor: make maps in PositionPlugin public for access with servereval

This commit is contained in:
Chayapak 2024-11-02 18:31:28 +07:00
parent b3615770dc
commit 4764a8947e
Signed by: ChomeNS
SSH key fingerprint: SHA256:0YoxhdyXsgbc0nfeB2N6FYE60mxMU7DS4uCUMaw2mvA

View file

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