geforkt von Mirrors/Paper
Fix NPE on Allay#stopDancing while not dancing
Dieser Commit ist enthalten in:
Ursprung
bc837647f1
Commit
d9107f8c61
@ -78,7 +78,7 @@ public class CraftAllay extends CraftCreature implements org.bukkit.entity.Allay
|
||||
public void stopDancing() {
|
||||
this.getHandle().forceDancing = false;
|
||||
this.getHandle().jukeboxPos = null;
|
||||
this.getHandle().setJukeboxPlaying(null, false);
|
||||
this.getHandle().setDancing(false); // Paper - Directly modify set dancing to avoid NPE
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren