Skip to content

Commit 584b0d3

Browse files
authored
Update Dependency.java
Change SimpleClans check to look for the clan's Tag instead of clan name as the default SimpleClans configuration allows for clan names that far exceed a sign's char limit while a tag's default char limit fits a sign.
1 parent 1f2bf2e commit 584b0d3

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
@@ -203,7 +203,7 @@ public static boolean isSimpleClanOf(String line, Player player){
203203
if (clanplayer != null){
204204
Clan clan = clanplayer.getClan();
205205
if (clan != null){
206-
if (line.equals("[" + clan.getName() + "]")) return true;
206+
if (line.equals("[" + clan.getTag() + "]")) return true;
207207
}
208208
}
209209
} catch (Exception e){}

0 commit comments

Comments
 (0)