forked from tyap-lyap/skylands
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Use registry for island settings
Signed-off-by: Awakened-Redstone <[email protected]>
- Loading branch information
1 parent
d257298
commit 68cd497
Showing
13 changed files
with
244 additions
and
269 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
src/main/java/com/awakenedredstone/neoskies/api/island/CurrentSettings.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.awakenedredstone.neoskies.api.island; | ||
|
||
import com.awakenedredstone.neoskies.logic.settings.IslandSettings; | ||
|
||
public class CurrentSettings { | ||
protected final IslandSettings settings; | ||
protected PermissionLevel permissionLevel; | ||
|
||
public CurrentSettings(IslandSettings settings, PermissionLevel permissionLevel) { | ||
this.settings = settings; | ||
this.permissionLevel = permissionLevel; | ||
} | ||
|
||
public IslandSettings getSettings() { | ||
return settings; | ||
} | ||
|
||
public PermissionLevel getPermissionLevel() { | ||
return permissionLevel; | ||
} | ||
|
||
public void setPermissionLevel(PermissionLevel permissionLevel) { | ||
this.permissionLevel = permissionLevel; | ||
} | ||
} |
9 changes: 0 additions & 9 deletions
9
src/main/java/com/awakenedredstone/neoskies/api/island/IslandSettings.java
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
src/main/java/com/awakenedredstone/neoskies/api/island/IslandSettingsList.java
This file was deleted.
Oops, something went wrong.
127 changes: 0 additions & 127 deletions
127
src/main/java/com/awakenedredstone/neoskies/api/island/IslandSettingsManager.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.