用户:
正在写bug的天哥查看:5 回复:6 评论:5 创建时间:2021-07-25T23:35:30
rt,谢谢
//PVP
entity.player.onPress(({ button, raycast: { hitEntity} }) => {
if (button !== 'action0' || !hitEntity) {
return;
}
hitEntity.hurt(3, {
attacker: entity,