User:Pokechu22/BugArchive/MC-35714

This is an archive of the specific obfuscated code that causes to occur. They previously were used on that bug report, but are no longer included there to make the report clear. The meaning of this code is explained in that report. All recompilation is done using jd.

15w35b
The place where  is called in  :


 * , lines 835 to 864

public void a(bbx ☃) {   if (this.m != null) { this.m.m; }   if ((☃ == null) && (this.f == null)) { ☃ = new bce; } else if ((☃ == null) && (this.h.bv <= 0.0F)) { ☃ = new bbi(null); }   if ((☃ instanceof bce)) {     this.t.ao = false; this.q.d.a; }   this.m = ☃; if (☃ != null) {     o; azu ☃ = new azu(this); int ☃ = ☃.a; int ☃ = ☃.b; ☃.a(this, ☃, ☃); this.r = false; }   else {     this.aH.e; //This is resumeSounds; line 861. n; } }

Here is the code for  and  :


 * , lines 373 to 384

public void e {   for (String ☃ : this.h.keySet) {     b.debug(a, "Pausing channel {}", new Object[] { ☃ }); this.e.pause(☃); } }  public void f {   for (String ☃ : this.h.keySet) {     b.debug(a, "Resuming channel {}", new Object[] { ☃ }); this.e.play(☃); } }

And here are  and   with the bug fixed:



List pausedSounds = new ArrayList; public void e {   for (String ☃ : this.h.keySet) {     b.debug(a, "Pausing channel {}", new Object[] { ☃ }); this.e.pause(☃); pausedSounds.add(☃); } }  public void f {   for (String ☃ : pausedSounds) {     b.debug(a, "Resuming channel {}", new Object[] { ☃ }); this.e.play(☃); }   pausedSounds.clear; }