Remove invulnerable from 1.8

This commit is contained in:
Brianna 2020-02-02 09:46:00 -05:00
parent 7c67f8dbf0
commit 92cdeae938

View File

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