So, after being on the 2.5.3 version of skript for a while now, I recently decided to switch over and update to 2.6....
I hadn't noticed anything wrong with my skripts at first, but then found a problem. For an example to my issue, here is a scenario:
So say I had a skript set up like this. Well, before updating to 2.6, the skript would have performed like this:
But now, after updating to 2.6, this happens...
So it seems that after updating, if an item is unnamed and interacted with, and there are skripts that deal with this item if they are named, it will just perform all of those actions even though not asked to.
Is this a bug in the update?
I hadn't noticed anything wrong with my skripts at first, but then found a problem. For an example to my issue, here is a scenario:
Code:
on right click:
if player is holding book named "Test 1":
broadcast "Test 1"
on right click:
if player is holding book named "Test 2":
broadcast "Test 2"
So say I had a skript set up like this. Well, before updating to 2.6, the skript would have performed like this:
- Right click book named "Test 1" > Server broadcasts "Test 1"
- Right click book named "Test 2" > Server broadcasts "Test 2"
- Right click book > Nothing occurs
But now, after updating to 2.6, this happens...
- Right click book named "Test 1" > Server broadcasts "Test 1"
- Right click book named "Test 2" > Server broadcasts "Test 2"
- Right click book > Server broadcasts "Test 1" & Server broadcasts "Test 2"
So it seems that after updating, if an item is unnamed and interacted with, and there are skripts that deal with this item if they are named, it will just perform all of those actions even though not asked to.
Is this a bug in the update?