diff --git a/src/main/java/com/garbagemule/MobArena/ArenaImpl.java b/src/main/java/com/garbagemule/MobArena/ArenaImpl.java index f67b611..34d9e98 100644 --- a/src/main/java/com/garbagemule/MobArena/ArenaImpl.java +++ b/src/main/java/com/garbagemule/MobArena/ArenaImpl.java @@ -191,7 +191,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