1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-16 03:24:31 +02:00

Merge branch 'master' of github.com:essentials/Essentials into essmaster

This commit is contained in:
KHobbits
2011-09-20 15:13:08 +01:00

View File

@@ -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;
}