mirror of
https://gitlab.com/SamB440/rpgregions-2.git
synced 2026-01-04 15:31:38 +00:00
Fix dynmap generation and soft-depend
This commit is contained in:
@@ -16,7 +16,6 @@ import org.bukkit.World;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.player.PlayerMoveEvent;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
@@ -103,5 +102,5 @@ public interface IntegrationManager {
|
||||
}
|
||||
|
||||
@NotNull
|
||||
List<Location> getBoundingBoxPoints(Location regionLocation, @Nullable String regionId);
|
||||
List<Location> getBoundingBoxPoints(@NotNull ConfiguredRegion region);
|
||||
}
|
||||
|
||||
@@ -376,7 +376,7 @@ public class ConfiguredRegion {
|
||||
|
||||
@Nullable
|
||||
public List<Location> getBoundingBox() {
|
||||
return RPGRegionsAPI.getAPI().getManagers().getIntegrationManager().getBoundingBoxPoints(location, id);
|
||||
return RPGRegionsAPI.getAPI().getManagers().getIntegrationManager().getBoundingBoxPoints(this);
|
||||
}
|
||||
|
||||
public String getColour() {
|
||||
|
||||
Reference in New Issue
Block a user