Skip to content

Commit

Permalink
remove tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Ifera committed Nov 3, 2023
1 parent 6f9af28 commit 44fc632
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Ifera/ScoreHud/factory/listener/FactoryListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ public function onItemHeld(PlayerItemHeldEvent $event) {
$player = $event->getPlayer();
$item = $event->getItem();
(new PlayerTagUpdateEvent($player, new ScoreTag("scorehud.item_name", $item->getName())))->call();
(new PlayerTagUpdateEvent($player, new ScoreTag("scorehud.item_id", (string) $item->getId())))->call();
(new PlayerTagUpdateEvent($player, new ScoreTag("scorehud.item_meta", (string) $item->getMeta())))->call();
(new PlayerTagUpdateEvent($player, new ScoreTag("scorehud.item_count", (string) $item->getCount())))->call();
}
}

0 comments on commit 44fc632

Please sign in to comment.