A more reliable fix to the door audio issue

This commit is contained in:
George Paton 2024-01-30 13:45:08 +11:00
parent 5a7367624f
commit 37490f35a2

View File

@ -285,7 +285,7 @@ public class TileEntityDoorGeneric extends TileEntityLockableBase implements IAn
}
}
if((this.state == 3 && state == 1) || (this.state == 2 && state == 0)){ // Door finished any transition
if(state == 1 || state == 0){ // Door finished any transition
if(audio != null){
audio.stopSound();
audio = null;