Add DynamicRegion.shouldPathConnect

This commit is contained in:
2026-09-07 11:42:22 +02:00
parent 63ae103b70
commit 6b5ce57a6d
7 changed files with 78 additions and 47 deletions
@@ -32,9 +32,8 @@ public enum RegionType {
*/
NORMAL(ConnectionType.Plot),
SPAWN(ConnectionType.Plot),
SPAWN_PATH(ConnectionType.Path),
SPAWN_EXTENSION(ConnectionType.Plot),
SPAWN(ConnectionType.Void),
SPAWN_EXTENSION(ConnectionType.Void),
PATH(ConnectionType.Path),
DRY(ConnectionType.Void),
@@ -58,11 +57,7 @@ public enum RegionType {
}
public boolean isSpawn() {
return this == SPAWN || this == SPAWN_PATH || this == SPAWN_EXTENSION;
}
public boolean isPath() {
return this == PATH || this == SPAWN_PATH;
return this == SPAWN || this == SPAWN_EXTENSION;
}
public enum ConnectionType {