mirror of
https://gitlab.com/SamB440/rpgregions-2.git
synced 2025-12-29 11:49:08 +00:00
Fix requirements, add ability to remove registry classes via gui
This commit is contained in:
@@ -7,11 +7,10 @@ import org.bukkit.entity.Player;
|
||||
public abstract class RegionRequirement implements IGuiEditable {
|
||||
|
||||
private final transient IRPGRegionsAPI api;
|
||||
private final PreventType preventType;
|
||||
private final PreventType preventType; // TODO make enums editable
|
||||
|
||||
public RegionRequirement(IRPGRegionsAPI api) {
|
||||
this.api = api;
|
||||
this.preventType = PreventType.TELEPORT;
|
||||
this(api, PreventType.TELEPORT);
|
||||
}
|
||||
|
||||
public RegionRequirement(IRPGRegionsAPI api, PreventType preventType) {
|
||||
|
||||
Reference in New Issue
Block a user