Make sure world names are lowercase'd

This commit is contained in:
Luck committed 2017-04-08 17:00:36 +01:00
1 parent 9de44d2605
commit 82e759d708
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;
}