mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-06-25 22:25:08 +02:00
Make sure new mobs don't spawn with invulnerability.
This commit is contained in:
parent
8ceed653ce
commit
ad470c750c
|
@ -97,6 +97,8 @@ public class EntityUtils {
|
||||||
newEntity.setVelocity(toClone.getVelocity());
|
newEntity.setVelocity(toClone.getVelocity());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
newEntity.setInvulnerable(false);
|
||||||
|
|
||||||
for (String checkStr : checks) {
|
for (String checkStr : checks) {
|
||||||
Check check = Check.valueOf(checkStr);
|
Check check = Check.valueOf(checkStr);
|
||||||
switch (check) {
|
switch (check) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user