mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-03 01:19:42 +01:00
<= 0 health? It's too late bby
This commit is contained in:
parent
9790ab29a2
commit
e4bbd36d47
@ -97,7 +97,7 @@ public void run() {
|
|||||||
private void processHeal(ApplicableRegionSet applicable, Player player,
|
private void processHeal(ApplicableRegionSet applicable, Player player,
|
||||||
PlayerFlagState state) {
|
PlayerFlagState state) {
|
||||||
|
|
||||||
if (player.getHealth() >= 20) {
|
if (player.getHealth() >= 20 || player.getHealth() <= 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user