添加打腿减速,修复泰瑟只对玩家有效的bug,增强雨散弓单木仓

This commit is contained in:
Atsuihsio 2024-06-04 12:32:27 +08:00
parent 553d6ae40a
commit f9543c6fbf

View file

@ -100,7 +100,7 @@ public class TaserBulletProjectileEntity extends ThrowableItemProjectile {
} }
} }
} }
}
if (entity instanceof LivingEntity living) { if (entity instanceof LivingEntity living) {
if (living instanceof Player player && player.isCreative()){ if (living instanceof Player player && player.isCreative()){