Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix knockback #333

Merged
Merged

Conversation

Lumine1909
Copy link
Contributor

@Lumine1909 Lumine1909 commented Sep 2, 2024

如题

原版击退会直接设置delta movement, 可能会在 tick 前被覆盖, 像以前一样 override 然后单独记录即可

Copy link
Member

@s-yh-china s-yh-china left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

并且实际上,只有,玩家 近战攻击 的击退不生效

patches/server/0010-Fakeplayer-support.patch Outdated Show resolved Hide resolved
@Lumine1909
Copy link
Contributor Author

并且实际上,只有,玩家 近战攻击 的击退不生效

因为只有玩家近战和其它实体导致的伤害时序不同 是跟随网络而不是世界tick的

@s-yh-china
Copy link
Member

并且实际上,只有,玩家 近战攻击 的击退不生效

因为只有玩家近战和其它实体导致的伤害时序不同 是跟随网络而不是世界tick的

有道理,我忽略了这个问题

@s-yh-china s-yh-china merged commit 9a63e92 into LeavesMC:dev/new-fakeplayer Sep 2, 2024
1 check passed
Lumine1909 added a commit to Lumine1909/LeavesFork that referenced this pull request Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants