From e5a9fda55568b5912bef0111bee59e5f79d985c3 Mon Sep 17 00:00:00 2001 From: Alex 'mcmonkey' Goodwin Date: Wed, 13 May 2020 02:44:17 -0700 Subject: [PATCH] minor meta doc improvement (_int tags) --- .../denizenscript/denizencore/objects/core/ElementTag.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java b/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java index 4e4dde04..a0aaf188 100644 --- a/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java +++ b/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java @@ -1619,6 +1619,7 @@ else if (CoreUtilities.toLowerCase(element).contains(CoreUtilities.toLowerCase(c // @group math // @description // Returns the element plus a number, using integer math. + // This is a special-case Java Long Integer logic tag, and generally you should use the variant without "_int" instead. // --> registerTag("add_int", (attribute, ele) -> { if (!ele.isDouble()) { @@ -1634,6 +1635,7 @@ else if (CoreUtilities.toLowerCase(element).contains(CoreUtilities.toLowerCase(c // @group math // @description // Returns the element divided by a number. + // This is a special-case Java Long Integer logic tag, and generally you should use the variant without "_int" instead. // --> registerTag("div_int", (attribute, ele) -> { if (!ele.isDouble()) { @@ -1649,6 +1651,7 @@ else if (CoreUtilities.toLowerCase(element).contains(CoreUtilities.toLowerCase(c // @group math // @description // Returns the element multiplied by a number. + // This is a special-case Java Long Integer logic tag, and generally you should use the variant without "_int" instead. // --> registerTag("mul_int", (attribute, ele) -> { if (!ele.isDouble()) { @@ -1664,6 +1667,7 @@ else if (CoreUtilities.toLowerCase(element).contains(CoreUtilities.toLowerCase(c // @group math // @description // Returns the element minus a number. + // This is a special-case Java Long Integer logic tag, and generally you should use the variant without "_int" instead. // --> registerTag("sub_int", (attribute, ele) -> { if (!ele.isDouble()) {