-
-
Notifications
You must be signed in to change notification settings - Fork 746
Open
Labels
Priority: HighRepresent a high impact in key areas of the base/user experienceRepresent a high impact in key areas of the base/user experienceStaleNo activityNo activityStatus: Pending TestThis PR or Issue requires more testingThis PR or Issue requires more testingType: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.
Description
Priority
High
Area
- Datapack
- Source
- Map
- Other
What happened?
crash log.txt
A bug happened!
Some bad configured scripts can do this.
recursive or spam teleports.
for example:
local function recursiveTeleport(player, origin)
if not player or not player:isPlayer() then
return
end
player:teleportTo(Position(origin.x + math.random(-1, 1), origin.y + math.random(-1, 1), origin.z))
addEvent(function()
recursiveTeleport(player, origin)
end, 50)
end
local movement = MoveEvent()
function movement.onStepIn(creature, item, position, fromPosition)
if creature:isPlayer() then
recursiveTeleport(creature, position)
end
return true
end
movement:id(870)
movement:register()
What OS are you seeing the problem on?
Linux
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
Priority: HighRepresent a high impact in key areas of the base/user experienceRepresent a high impact in key areas of the base/user experienceStaleNo activityNo activityStatus: Pending TestThis PR or Issue requires more testingThis PR or Issue requires more testingType: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.