Merge pull request 'Fix onFire after Death' (#13) from FireTick into master
Reviewed-by: Lixfel <lixfel@steamwar.de>
Dieser Commit ist enthalten in:
Commit
d769ab0a14
@ -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;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren