mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-16 11:37:30 +02:00
fix of my fix
This commit is contained in:
@@ -153,13 +153,13 @@ public class SignProtection extends EssentialsSign
|
|||||||
{
|
{
|
||||||
return SignProtectionState.ALLOWED;
|
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;
|
return SignProtectionState.ALLOWED;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
String signOwner = sign.getLine(3).substring(2);
|
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;
|
return SignProtectionState.OWNER;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user