mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-26 11:07:55 +01:00
Merge branch 'master' of github.com:essentials/Essentials into essmaster
This commit is contained in:
commit
9c998eac2f
@ -183,11 +183,16 @@ public class SignProtection extends EssentialsSign
|
||||
SignProtectionState retstate = SignProtectionState.NOSIGN;
|
||||
for (SignProtectionState state : signs.values())
|
||||
{
|
||||
if (state == SignProtectionState.OWNER || state == SignProtectionState.ALLOWED)
|
||||
|
||||
if (state == SignProtectionState.OWNER)
|
||||
{
|
||||
return state;
|
||||
}
|
||||
if (state == SignProtectionState.NOT_ALLOWED)
|
||||
if (state == SignProtectionState.ALLOWED)
|
||||
{
|
||||
retstate = state;
|
||||
}
|
||||
else if (state == SignProtectionState.NOT_ALLOWED && retstate != SignProtectionState.ALLOWED)
|
||||
{
|
||||
retstate = state;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user