Skip to content

Commit

Permalink
Naming variables on MixinSignBlockEntity
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiroto committed Sep 25, 2023
1 parent 3567d6d commit 802a0d2
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ public void tick() {
}

if (this.tickSinceStart % 10 == 0) {
String var1 = this.text[0] + this.text[1] + this.text[2] + this.text[3];
if (this.onNote < MusicPlayer.countNotes(var1)) {
MusicPlayer.playNoteFromSong(this.world, this.x, this.y, this.z, this.instrument, var1, this.onNote, 1.0F);
String signContents = this.text[0] + this.text[1] + this.text[2] + this.text[3];
if (this.onNote < MusicPlayer.countNotes(signContents)) {
MusicPlayer.playNoteFromSong(this.world, this.x, this.y, this.z, this.instrument, signContents, this.onNote, 1.0F);
++this.onNote;
} else {
this.playSong = false;
Expand All @@ -37,9 +37,9 @@ public void tick() {
}

@Override
public void playSong(String var1) {
public void playSong(String instrumentString) {
this.playSong = true;
this.instrument = var1;
this.instrument = instrumentString;
this.tickSinceStart = 0;
this.onNote = 0;
}
Expand Down

0 comments on commit 802a0d2

Please sign in to comment.