Merge branch 'master' into 1.8

This commit is contained in:
Andreas Troelsen 2020-11-04 01:07:37 +01:00
commit 3124703d96

View File

@ -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