MM should set its own stuff

This commit is contained in:
Sjoerd van de Goor 2023-02-07 17:26:06 +01:00
parent ef07ec2c62
commit c366ec0c40

View File

@ -442,7 +442,8 @@ public class IrisEntity extends IrisRegistrant {
if (isSpecialType()) { if (isSpecialType()) {
if (specialType.toLowerCase().startsWith("mythicmobs:")) { if (specialType.toLowerCase().startsWith("mythicmobs:")) {
return Iris.linkMythicMobs.spawnMob(specialType.substring(11), at); Iris.linkMythicMobs.spawnMob(specialType.substring(11), at);
return null;
} else { } else {
Iris.warn("Invalid mob type to spawn: '" + specialType + "'!"); Iris.warn("Invalid mob type to spawn: '" + specialType + "'!");
return null; return null;