mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-24 10:34:24 +00:00
Make sure world names are lowercase'd
This commit is contained in:
4 files changed
+5
-4
No files matched your search
@@ -43,7 +43,7 @@ public class WorldCalculator implements ContextCalculator<Subject> {
|
||||
}
|
||||
|
||||
Player p = ((Player) source);
|
||||
accumulator.add(Context.WORLD_KEY, p.getWorld().getName());
|
||||
accumulator.add(Context.WORLD_KEY, p.getWorld().getName().toLowerCase());
|
||||
return accumulator;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user