Make sure world names are lowercase'd

This commit is contained in:
Luck
2017-04-08 17:00:36 +01:00
Unverified
parent 9de44d2605
commit 82e759d708
4 changed files with 5 additions and 4 deletions
@@ -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;
}