-
-
Notifications
You must be signed in to change notification settings - Fork 418
Closed
Labels
bugAn 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.completedThe issue has been fully resolved and the change will be in the next Skript update.The issue has been fully resolved and the change will be in the next Skript update.
Description
Skript/Server Version
Paper version: 1.21.10-130-8043efd (MC: 1.21.10)
Skript 2.13.2 TEST ENVBug Description
Reporting this again, because it still happens.
runTests have a chance to crash the server when applying velocity that stacks as the server is executing all tests in the same tick. So the velocity can stack.
Expected Behavior
To not crash the server
Steps to Reproduce
execute the runTests gradle task, and have a chance that the tests crash the server
Errors or Screenshots
[16:07:10 ERROR]: Paper version: 1.21.10-130-8043efd (MC: 1.21.10)
[16:07:10 ERROR]: ------------------------------
[16:07:10 ERROR]: During the run of the server, a plugin set an excessive velocity on an entity
[16:07:10 ERROR]: This may be the cause of the issue, or it may be entirely unrelated
[16:07:10 ERROR]: Excessive velocity set detected: tried to set velocity of entity 876fa08b-f85f-463d-ad07-297d76623771 id #1234 to (3.061616997868383E-16,0.0,5.0).
[16:07:10 ERROR]: org.bukkit.craftbukkit.entity.CraftEntity.setVelocity(CraftEntity.java:204)
[16:07:10 ERROR]: Skript.jar//ch.njol.skript.sections.EffSecShoot.lambda$afterSpawn$3(EffSecShoot.java:300)
[16:07:10 ERROR]: Skript.jar//ch.njol.skript.entity.EntityData.lambda$spawn$2(EntityData.java:699)
[16:07:10 ERROR]: org.bukkit.craftbukkit.CraftRegionAccessor.addEntity(CraftRegionAccessor.java:403)
[16:07:10 ERROR]: org.bukkit.craftbukkit.CraftRegionAccessor.spawn(CraftRegionAccessor.java:369)
[16:07:10 ERROR]: org.bukkit.craftbukkit.CraftRegionAccessor.spawn(CraftRegionAccessor.java:363)
[16:07:10 ERROR]: org.bukkit.craftbukkit.CraftRegionAccessor.spawn(CraftRegionAccessor.java:354)
[16:07:10 ERROR]: Skript.jar//ch.njol.skript.entity.EntityData.spawn(EntityData.java:896)
[16:07:10 ERROR]: Skript.jar//ch.njol.skript.entity.EntityData.spawn(EntityData.java:699)
[16:07:10 ERROR]: Skript.jar//ch.njol.skript.sections.EffSecShoot$CaseUsage$2.shootHandler(EffSecShoot.java:60)
[16:07:10 ERROR]: Skript.jar//ch.njol.skript.sections.EffSecShoot.walk(EffSecShoot.java:245)
[16:07:10 ERROR]: Skript.jar//ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:67)
[16:07:10 ERROR]: Skript.jar//ch.njol.skript.lang.Trigger.execute(Trigger.java:33)
[16:07:10 ERROR]: Skript.jar//ch.njol.skript.SkriptEventHandler.lambda$execute$2(SkriptEventHandler.java:166)
[16:07:10 ERROR]: Skript.jar//ch.njol.skript.SkriptEventHandler.lambda$execute$3(SkriptEventHandler.java:178)
[16:07:10 ERROR]: Skript.jar//ch.njol.skript.util.Task.callSync(Task.java:203)
[16:07:10 ERROR]: Skript.jar//ch.njol.skript.util.Task.callSync(Task.java:187)
[16:07:10 ERROR]: Skript.jar//ch.njol.skript.SkriptEventHandler.execute(SkriptEventHandler.java:176)
[16:07:10 ERROR]: Skript.jar//ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:121)
[16:07:10 ERROR]: Skript.jar//ch.njol.skript.SkriptEventHandler$PriorityListener.lambda$new$0(SkriptEventHandler.java:47)
[16:07:10 ERROR]: co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[16:07:10 ERROR]: org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:71)
[16:07:10 ERROR]: io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54)
[16:07:10 ERROR]: io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131)
[16:07:10 ERROR]: org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628)
[16:07:10 ERROR]: Skript.jar//ch.njol.skript.Skript.runTests(Skript.java:889)
[16:07:10 ERROR]: Skript.jar//ch.njol.skript.Skript$1.lambda$run$0(Skript.java:738)
[16:07:10 ERROR]: org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78)
[16:07:10 ERROR]: org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:474)
[16:07:10 ERROR]: net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1744)
[16:07:10 ERROR]: net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1618)
[16:07:10 ERROR]: net.minecraft.server.dedicated.DedicatedServer.tickServer(DedicatedServer.java:430)
[16:07:10 ERROR]: net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1338)
[16:07:10 ERROR]: net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:384)
[16:07:10 ERROR]: java.base/java.lang.Thread.run(Thread.java:1583)
[16:07:10 ERROR]: ------------------------------
[16:07:10 ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
[16:07:10 ERROR]: ------------------------------
Other
No response
Agreement
- I have read the guidelines above and affirm I am following them with this report.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugAn 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.completedThe issue has been fully resolved and the change will be in the next Skript update.The issue has been fully resolved and the change will be in the next Skript update.
Type
Projects
Status
Done - Released