mirror of
https://github.com/CodeMC/WorldGuardWrapper.git
synced 2025-04-28 23:22:36 +02:00
Added setPriority method
This commit is contained in:
parent
eb87041c4d
commit
afb5c3fa2f
|
@ -21,6 +21,8 @@ public interface IWrappedRegion {
|
|||
|
||||
int getPriority();
|
||||
|
||||
void setPriority(int priority);
|
||||
|
||||
IWrappedDomain getOwners();
|
||||
|
||||
IWrappedDomain getMembers();
|
||||
|
|
|
@ -111,6 +111,11 @@ public class WrappedRegion implements IWrappedRegion {
|
|||
return handle.getPriority();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPriority(int priority) {
|
||||
handle.setPriority(priority);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IWrappedDomain getOwners() {
|
||||
return new IWrappedDomain() {
|
||||
|
|
|
@ -107,6 +107,11 @@ public class WrappedRegion implements IWrappedRegion {
|
|||
return handle.getPriority();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPriority(int priority) {
|
||||
handle.setPriority(priority);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IWrappedDomain getOwners() {
|
||||
return new IWrappedDomain() {
|
||||
|
|
|
@ -107,6 +107,11 @@ public class WrappedRegion implements IWrappedRegion {
|
|||
return handle.getPriority();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPriority(int priority) {
|
||||
handle.setPriority(priority);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IWrappedDomain getOwners() {
|
||||
return new IWrappedDomain() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user