Skip to content
This repository was archived by the owner on Feb 8, 2019. It is now read-only.

Commit c9177c5

Browse files
committed
Reset armor
1 parent 3c115eb commit c9177c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/VectorNetworkProject/TheMix/game/corepvp/SpawnManager.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ private static function ReSpawnCooldown(Player $player, Position $position): voi
4444
$player->setMaxHealth(20);
4545
$player->setFood(20);
4646
$player->getInventory()->clearAll();
47+
$player->getArmorInventory()->clearAll();
4748
$player->removeAllEffects();
4849
$player->addEffect(new EffectInstance(Effect::getEffect(Effect::NIGHT_VISION), 99999999 * 20, 11, false));
4950
TheMix::getInstance()->getScheduler()->scheduleDelayedTask(new ReSpawnCooldownTask($player, $position), 100);

0 commit comments

Comments
 (0)