chore: Sulfuras items is not updatable

This commit is contained in:
EmanFateen 2025-11-22 22:53:44 +02:00
parent a64e2c6a6e
commit da3c2f5554

View File

@ -18,6 +18,12 @@ final class GildedRose
public function updateQuality(): void
{
foreach ($this->items as $item) {
if ($item->name === 'Sulfuras, Hand of Ragnaros') {
continue;
}
if ($item->name != 'Aged Brie' and $item->name != 'Backstage passes to a TAFKAL80ETC concert') {
if ($item->quality > 0) {
if ($item->name != 'Sulfuras, Hand of Ragnaros') {