Make sure new mobs don't spawn with invulnerability.

This commit is contained in:
Brianna 2020-02-01 07:57:29 -05:00
parent 8ceed653ce
commit ad470c750c
1 changed files with 2 additions and 0 deletions

View File

@ -97,6 +97,8 @@ public class EntityUtils {
newEntity.setVelocity(toClone.getVelocity());
}
newEntity.setInvulnerable(false);
for (String checkStr : checks) {
Check check = Check.valueOf(checkStr);
switch (check) {