SignProtection code fix number 92324

This commit is contained in:
ementalo 2011-07-22 17:16:08 +01:00
parent 6a1c53dd01
commit 304b13ca5e

View file

@ -158,7 +158,7 @@ public class SignProtection extends EssentialsSign
return SignProtectionState.ALLOWED; return SignProtectionState.ALLOWED;
} }
} }
if (ChatColor.stripColor(sign.getLine(3).substring(2)).equalsIgnoreCase(username)) if (ChatColor.stripColor(sign.getLine(3)).equalsIgnoreCase(username))
{ {
return SignProtectionState.OWNER; return SignProtectionState.OWNER;
} }