Skript/Server Version
[Skript] Server Version: 1.21.5-114-a1b3058 (MC: 1.21.5)
[Skript] Skript Version: 2.13.2 (skriptlang-github)
[Skript] Installed Skript Addons:
[Skript] - skript-reflect v2.6.1 (https://github.com/SkriptLang/skript-reflect)
[Skript] Installed dependencies: None
Bug Description
Incorrect conflict with subtraction and the disallow natural despawning Item entity
Expected Behavior
To not conflict with the subtraction EffChange
Steps to Reproduce
options:
type: gold sword
on item spawning of {@type}:
prevent event-dropped item from naturally despawning
Errors or Screenshots
[17:30:03 INFO]: Line 6: (test.sk)
[17:30:03 INFO]: subtraction can't be performed on an event and a dropped item
[17:30:03 INFO]: Line: prevent event-dropped item from naturally despawning
Other
Fixed by using reflection prevent event.getEntity() from naturally despawning
Agreement
Skript/Server Version
Bug Description
Incorrect conflict with subtraction and the disallow natural despawning Item entity
Expected Behavior
To not conflict with the subtraction EffChange
Steps to Reproduce
Errors or Screenshots
Other
Fixed by using reflection
prevent event.getEntity() from naturally despawningAgreement