Skript: Loop inventory change

Created on 3 Sep 2017  路  16Comments  路  Source: SkriptLang/Skript

Spigot 1.12.1 latest
Skript 2.2-dev31

Loops on the players inventory worked through Skript 2.2-dev30b, but now...

[11:26:00] [Server thread/ERROR]: [Skript] Can't understand this loop: 'loop all items in the player's inventory' (clear-inventory.sk, line 14: loop all items in the player's inventory:')

I searched documentation for changes to the loop syntax, but didn't find any pointers.

bug

All 16 comments

Probably a side effect of some unrelated change. I'll take a look at this soon.

thanks.

For some reason, all items in whatever doesn't parse at all. I'll attempt to fix this, but it will likely take hours of debugging from me - which I can't in next few days.

Got that issue with loop items in victim's inventory: too

I think it is more about 'items in' than where the inventory comes. Which is strange, indeed.

So when will you be able to fix it?
It's a quite important feature to manage inventories.

Not soon. I did attempt to figure out what is wrong, but in the end failed. I still have no clue what might cause this.

Does this happen with dev30 too, by the way?

In dev30 it worked fine

Huh, that is interesting. There were no significant parser changes.

It worked correctly until dev31b.

Change to plans: it is fixed now.

Sorry, forgot to push release... Oops.

An updated release that includes this basic functionality would be nice.

I have published that update already. My comment was just to apologize delay of six days between fix and release.

I see only dev31c on GitHub, which predates this change by a week. Where should I be looking?

Sorry, I missed that there was a hotfix. If the release version doesn't change, my checker doesn't pick it up. Thanks. Loops work as expected.

Was this page helpful?
0 / 5 - 0 ratings