Fix armor stand is invulnerable (#99)
This commit is contained in:
parent
96cdb7a758
commit
feabbc04f8
@ -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"))
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
allprojects {
|
||||
group 'io.izzel.arclight'
|
||||
version '1.0.10'
|
||||
version '1.0.11-SNAPSHOT'
|
||||
|
||||
ext {
|
||||
agpVersion = '1.9'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user