From 28f60c02885ea72389b7e56a2984ceab17a52051 Mon Sep 17 00:00:00 2001 From: loliprotector Date: Thu, 27 Feb 2020 11:15:22 +0800 Subject: [PATCH] Rename eval to bool --- src/main/java/com/jagrosh/jagtag/libraries/Functional.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/jagrosh/jagtag/libraries/Functional.java b/src/main/java/com/jagrosh/jagtag/libraries/Functional.java index 072c5a3..704ee18 100644 --- a/src/main/java/com/jagrosh/jagtag/libraries/Functional.java +++ b/src/main/java/com/jagrosh/jagtag/libraries/Functional.java @@ -65,7 +65,7 @@ public static Collection getMethods() { }, "|then:", "|else:"), // performs a conditional and outputs true/false - new Method("eval", (env, in) -> { + new Method("bool", (env, in) -> { if(in[0].equalsIgnoreCase("true")) return "true"; if(in[0].equalsIgnoreCase("false"))