mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +00:00
Make players invincible by default
This commit is contained in:
parent
c4f60e4e69
commit
db22d8ca86
1 changed files with 6 additions and 0 deletions
|
@ -1230,6 +1230,12 @@ public class PKListener implements Listener {
|
||||||
player.sendMessage(ChatColor.translateAlternateColorCodes('&', bottomBorder));
|
player.sendMessage(ChatColor.translateAlternateColorCodes('&', bottomBorder));
|
||||||
}
|
}
|
||||||
}, 20 * 4);
|
}, 20 * 4);
|
||||||
|
|
||||||
|
// TFM Start - make players invincible by default
|
||||||
|
if (!Commands.invincible.contains(player.getName())) {
|
||||||
|
Commands.invincible.add(player.getName());
|
||||||
|
}
|
||||||
|
// TFM End
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue