SteamWar/MissileWars
Archiviert
13
0

Fix FireTick after Death

Dieser Commit ist enthalten in:
jojo 2020-09-25 22:14:04 +02:00
Ursprung 60ab66de86
Commit 7e0be0a412

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;