SteamWar/MissileWars
Archiviert
13
0

Fix onFire after Death

Dieser Commit ist enthalten in:
jojo 2020-09-26 11:34:17 +02:00
Ursprung 81a0e3a412
Commit efd94fbd92

Datei anzeigen

@ -46,6 +46,7 @@ public class DeathListener extends BasicListener {
@EventHandler @EventHandler
public void onRespawn(PlayerRespawnEvent e){ public void onRespawn(PlayerRespawnEvent e){
Player p = e.getPlayer(); Player p = e.getPlayer();
p.setFireTicks(0);
MWTeam team = MissileWars.getTeam(p); MWTeam team = MissileWars.getTeam(p);
if(team == null) if(team == null)
return; return;