mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
fix of my fix
This commit is contained in:
parent
7b7289db4c
commit
d7b2ac97aa
1 changed files with 2 additions and 2 deletions
|
@ -153,13 +153,13 @@ public class SignProtection extends EssentialsSign
|
|||
{
|
||||
return SignProtectionState.ALLOWED;
|
||||
}
|
||||
else if (line.equalsIgnoreCase(username)|| line.equalsIgnoreCase(ChatColor.stripColor(username)))
|
||||
else if (line.equalsIgnoreCase(username)|| ChatColor.stripColor(line).equalsIgnoreCase((username)))
|
||||
{
|
||||
return SignProtectionState.ALLOWED;
|
||||
}
|
||||
}
|
||||
String signOwner = sign.getLine(3).substring(2);
|
||||
if (signOwner.equalsIgnoreCase(username) || signOwner.equalsIgnoreCase(ChatColor.stripColor(username)))
|
||||
if (signOwner.equalsIgnoreCase(username) || ChatColor.stripColor(signOwner).equalsIgnoreCase((username)))
|
||||
{
|
||||
return SignProtectionState.OWNER;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue