Still being able to attack when downed with PlayerRevive mod
ricchix opened this issue ยท 6 comments
javaw_Uc59lFkVXN_Trim.mp4
This is on 1.18.2 and Forge 40.1.68
EpicFight version: 18.2.6-beta
PlayerRevive version: 2.0.1
PlayerRevive cancels the ClickInputEvent
when a player is downed (source). So somehow this is being ignored.
Can you maybe inject some of your code using mixin? Maybe we can handle that, disabling the damage event overriding attack entity method of this class https://github.com/Yesssssman/epicfightmod/blob/a55c570a9675c25bc1eaf5f97146c91e36c2c161/src/main/java/yesman/epicfight/events/PlayerEvents.java#L33
@Walrus98 sorry but I will not mixin into other peoples code just to get the compatibility solved. Already provided a suggestion for the solution.