- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 413
Open
Labels
PR availableIssues which have a yet-to-be merged PR resolving itIssues which have a yet-to-be merged PR resolving itbugAn issue that needs to be fixed. Alternatively, a PR fixing an issue.An issue that needs to be fixed. Alternatively, a PR fixing an issue.
Description
Skript/Server Version
2.12.2Bug Description
Getting an error that says I cannot change the damage after the damage event has already happened.
Expected Behavior
To allow me to change the damage when the event hasn't been delayed.
Steps to Reproduce
options:
	world: "lobby"
	
on damage of player:
	world of victim is {@world}
	if damage cause is void:
		teleport victim to spawn of world {@world}
		cancel event
		stop
	if damage cause is fall:
		cancel event
		stop
	set damage to 0
Errors or Screenshots
[00:21:46 INFO]: [Skript] Line 13: (test.sk)
[00:21:46 INFO]:     Can't change the damage anymore after the event has already passed
[00:21:46 INFO]:     Line: set damage to 0
Other
It seems to be from the teleport effect. Probably because it can teleport players async if paper is used.
It shouldn't be blocking, effects don't return.
Agreement
- I have read the guidelines above and affirm I am following them with this report.
Metadata
Metadata
Assignees
Labels
PR availableIssues which have a yet-to-be merged PR resolving itIssues which have a yet-to-be merged PR resolving itbugAn issue that needs to be fixed. Alternatively, a PR fixing an issue.An issue that needs to be fixed. Alternatively, a PR fixing an issue.
Type
Projects
Status
In Progress