Limit tameable mob selection, fixes #2090

This commit is contained in:
PikaMug 2023-04-05 21:33:36 -04:00
parent 85b0e0017a
commit cc916c5af4
1 changed files with 1 additions and 1 deletions

View File

@ -983,7 +983,7 @@ public class QuestMobsPrompt extends QuestsEditorNumericPrompt {
final EntityType type = MiscUtil.getProperMobType(s);
if (type != null) {
final Class<? extends Entity> ec = type.getEntityClass();
if (type.isAlive() || (ec != null && Tameable.class.isAssignableFrom(ec))) {
if (type.isAlive() && (ec != null && Tameable.class.isAssignableFrom(ec))) {
mobTypes.add(s);
context.setSessionData(pref + CK.S_TAME_TYPES, mobTypes);