Cannot delete entities within chunk
Bug Description
on chunk unload:
clear all dropped item in event-chunk
clear all entities of type dropped item in event-chunk
Expected Behavior
To not error and allow me to use event-chunk
Steps to Reproduce
add the above code and reload the script
Errors or Screenshots
Other
The syntax and the event value exists.
Agreement
- [X] I have read the guidelines above and affirm I am following them with this report.
try to swap event-chunk to just chunk, other u can load all items in chunk and then clear them or u can try regions :/
try to swap event-chunk to just chunk, other u can load all items in chunk and then clear them or u can try regions :/
Same thing
loop all entites in radius 20 around locaction of chunk: || loop all entites in chunk: "%loop-entity%" isn't "player": delete loop-entity u can try somthing like this but its not the fastest way for procesor
Interestingly I also get double error messages when recreating in 2.7.1:
[01:16:34 INFO]: Line 31: (test-folder\test.sk)
[01:16:34 INFO]: event-chunk is not a world
[01:16:34 INFO]: Line: clear all dropped items in event-chunk
[01:16:34 INFO]:
[01:16:34 INFO]: Line 31: (test-folder\test.sk)
[01:16:34 INFO]: event-chunk is not a world
[01:16:34 INFO]: Line: clear all dropped items in event-chunk
[01:16:34 INFO]:
[01:16:34 INFO]: Line 32: (test-folder\test.sk)
[01:16:34 INFO]: event-chunk is not a world
[01:16:34 INFO]: Line: clear all entities of type dropped item in event-chunk
[01:16:34 INFO]:
[01:16:34 INFO]: Line 32: (test-folder\test.sk)
[01:16:34 INFO]: event-chunk is not a world
[01:16:34 INFO]: Line: clear all entities of type dropped item in event-chunk
[01:16:34 INFO]:
on chunk unload:
clear all dropped items in event-chunk
clear all entities of type dropped item in event-chunk
[01:17:26 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[01:17:26 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[01:17:26 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[01:17:26 INFO]: [Skript] Server Version: git-Paper-164 (MC: 1.20.1)
[01:17:26 INFO]: [Skript] Skript Version: 2.7.1 (skriptlang-github)
[01:17:26 INFO]: [Skript] Installed Skript Addons: None
[01:17:26 INFO]: [Skript] Installed dependencies: None
Duplicate of #5720 but looks like it got lefted out 😬
This is a weird issue. The expression actually parses perfectly fine, but for some reason it prints errors.