Timepsan Infinity #7458
Labels
enhancement
Feature request, an issue about something that could be improved, or a PR improving something.
good first issue
An issue that would be good for a first-time contributor to make a PR for
priority: low
Issues that are not harmful to the experience but are related to useful changes or additions.
Suggestion
Skript's Timespan should support infinity.
Potion effects with a time of -1 are considered infinite.
Returning the timespan from a potion that is infinite is impossible since Timespan requires 0+ milliseconds.
Suggestion:
infinite
boolean field definition that the timespan is infinite.infinite
Why?
In SkBee I have an expression
timespan of %potioneffect%
, my only option is to return a timespan with Long/Integer.MAX_VALUE.This isn't what I really want.
Not to mention if Skript ever has this expression (which it should), its going to have the same issue.
Other
No response
Agreement
The text was updated successfully, but these errors were encountered: