Use event tracking for increased efficiency #4
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: EpicKnarvik97/ClearOnWorldGuard#4
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Making and calling events when a player enters or leaves a clear area could potentially be a lot more efficient. Rather than checking if a player is in a clear region in every event call, a map player -> bool could be used to instantly check whether any event involving that player needs any clear region checking. This is not useful for the events checking if a player is performing an action across clear region borders, as the player might fiddle with blocks in the clear region from the outside.
If per-region toggles are implemented, the map could be easily altered to give the player's current clear region.