mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-26 20:45:17 +01:00
Merge branch 'master' into 1.8
This commit is contained in:
commit
3124703d96
@ -188,7 +188,8 @@ public class ArenaImpl implements Arena
|
||||
|
||||
String defaultClassName = settings.getString("default-class", null);
|
||||
if (defaultClassName != null) {
|
||||
this.defaultClass = classes.get(defaultClassName);
|
||||
String slug = Slugs.create(defaultClassName);
|
||||
this.defaultClass = classes.get(slug);
|
||||
}
|
||||
|
||||
// Blocks and pets
|
||||
|
Loading…
Reference in New Issue
Block a user