Make monster types case-insensitive.

This commit is contained in:
garbagemule 2015-07-17 16:12:23 +02:00
parent a9eab13842
commit d32cd22a98

View File

@ -138,7 +138,7 @@ public class MACreature
}
public static MACreature fromString(String string) {
return map.get(string.replaceAll("[-_\\.]", ""));
return map.get(string.toLowerCase().replaceAll("[-_\\.]", ""));
}
public LivingEntity spawn(Arena arena, World world, Location loc) {