working on fixing armorstand marker not being removed after no fuel or multiblock break

This commit is contained in:
kai ohara 2025-02-05 21:27:10 -05:00
parent b6b690afd8
commit 3e9edb8e68
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View File

@ -333,6 +333,7 @@ public final class CoswayUtil extends JavaPlugin {
} }
private void removeMarker(Location loc) { private void removeMarker(Location loc) {
Location newloc = loc.clone().add(0,1,0);
if (activeAnchors.containsKey(loc)) { if (activeAnchors.containsKey(loc)) {
activeAnchors.get(loc).remove(); activeAnchors.get(loc).remove();
activeAnchors.remove(loc); activeAnchors.remove(loc);