From 88083af07484df08f1775fa87000c39256d650b0 Mon Sep 17 00:00:00 2001 From: jojo Date: Tue, 29 Dec 2020 20:45:19 +0100 Subject: [PATCH] Add Readability --- SpigotCore_Main/src/de/steamwar/command/ArgumentType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpigotCore_Main/src/de/steamwar/command/ArgumentType.java b/SpigotCore_Main/src/de/steamwar/command/ArgumentType.java index 04df678..9927841 100644 --- a/SpigotCore_Main/src/de/steamwar/command/ArgumentType.java +++ b/SpigotCore_Main/src/de/steamwar/command/ArgumentType.java @@ -30,7 +30,7 @@ public class ArgumentType { public static final ArgumentType LONG = new ArgumentType<>(Long::parseLong, true); public static final ArgumentType FLOAT = new ArgumentType<>(Float::parseFloat, true); public static final ArgumentType DOUBLE = new ArgumentType<>(Double::parseDouble, true); - public static final ArgumentType STRING = new ArgumentType<>((s) -> s, false); + public static final ArgumentType STRING = new ArgumentType<>(s -> s, false); Function mapper; boolean number;