fix: позиция голограмм (getBlock.Location) + зона ворот (corner1/corner2)

This commit is contained in:
loki5512344 2026-06-14 17:49:28 +02:00
parent b0afb3f6be
commit eb4a670e9c
8 changed files with 124 additions and 13 deletions

View file

@ -201,6 +201,7 @@ public class SetupCommand implements TabExecutor {
var locations = plugin.getConfigManager().getLocations();
locations.setGate(gateId, center);
locations.setGateZone(gateId, p1, p2);
plugin.getConfigManager().saveConfig("locations.yml", locations.getConfig());
player.sendMessage(messages().get("setup.gate-placed", gateId, formatLoc(center)));