Fix armor stand is invulnerable (#99)

This commit is contained in:
IzzelAliz 2020-12-27 13:32:08 +08:00
parent 96cdb7a758
commit feabbc04f8
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ public abstract class ArmorStandEntityMixin extends LivingEntityMixin {
@Redirect(method = "attackEntityFrom", at = @At(value = "FIELD", target = "Lnet/minecraft/entity/item/ArmorStandEntity;canInteract:Z"))
private boolean arclight$softenCondition(ArmorStandEntity entity) {
return true;
return false;
}
@Inject(method = "attackEntityFrom", at = @At(value = "INVOKE", ordinal = 1, target = "Lnet/minecraft/entity/item/ArmorStandEntity;remove()V"))

View File

@ -1,6 +1,6 @@
allprojects {
group 'io.izzel.arclight'
version '1.0.10'
version '1.0.11-SNAPSHOT'
ext {
agpVersion = '1.9'