mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 21:38:00 +01:00
Fixed another crash due to sounds playing off-thread
This commit is contained in:
parent
51082fdf90
commit
90e4737910
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ public class PlayerPhysics extends EntityPhysics<PlayerEntity> implements Tickab
|
|||
ticksToGlide = 20;
|
||||
}
|
||||
|
||||
if (ticksInAir % 200 == 1) {
|
||||
if (ticksInAir % 200 == 1 && pony.isClient()) {
|
||||
InteractionManager.instance().playLoopingSound(entity, InteractionManager.SOUND_GLIDING);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue