Skip to content

Commit 96f0336

Browse files
authored
Merge pull request #2 from Pawned/patch-1
Ignore case-sensitivity on Clan Tags
2 parents 650f3ad + 700e592 commit 96f0336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/me/crafter/mc/lockettepro/Dependency.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public static boolean isSimpleClanOf(String line, Player player){
227227
if (clanplayer != null){
228228
Clan clan = clanplayer.getClan();
229229
if (clan != null){
230-
if (line.equals("[" + clan.getTag() + "]")) return true;
230+
if (line.equalsIgnoreCase("[" + clan.getTag() + "]")) return true;
231231
}
232232
}
233233
} catch (Exception e){}

0 commit comments

Comments
 (0)