9
0
mirror of https://gitlab.com/SamB440/rpgregions-2.git synced 2025-12-28 19:29:16 +00:00

Fix UltraRegions support

This commit is contained in:
SamB440
2023-04-26 13:16:16 +01:00
parent fdbfa30e7a
commit 7d15928b57

View File

@@ -98,7 +98,7 @@ public class UltraRegionsIntegration implements IntegrationManager {
for (Region ultraRegion : managedWorld.get().getRegions()) {
if (!ultraRegion.getName().equals(region.getId())) continue;
for (XYZ point : ultraRegion.getSelection().getTracePoints()) {
for (XYZ point : ultraRegion.getSelectionList().getTracePoints()) {
points.add(new Location(region.getWorld(), point.getX(), point.getY(), point.getZ()));
}
}