ъ
This commit is contained in:
parent
79022ddac9
commit
78395e228b
@ -269,7 +269,9 @@ class Enforcer(type: EntityType<Enforcer>, level: Level) : Monster(type,level) {
|
||||
return
|
||||
}
|
||||
|
||||
mob.playSound(MSoundEvents.ENFORCER_CHARGE, 1.0f, 1.0f)
|
||||
if (chargeTime == windupTime) {
|
||||
mob.playSound(MSoundEvents.ENFORCER_CHARGE, 1.0f, 1.0f)
|
||||
}
|
||||
|
||||
val dir = chargeDir ?: return
|
||||
mob.yRot = Math.toDegrees(-Mth.atan2(dir.x, dir.z)).toFloat()
|
||||
|
Loading…
Reference in New Issue
Block a user