From c8e33eef60e63bb87887087cb8e9c5360ba00142 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Tue, 23 Apr 2019 13:52:03 -0400 Subject: [PATCH] Properly compare against MIN/MAX_VALUE --- .../packet/brigadier/DoubleArgumentPropertySerializer.java | 4 ++-- .../packet/brigadier/FloatArgumentPropertySerializer.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/brigadier/DoubleArgumentPropertySerializer.java b/proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/brigadier/DoubleArgumentPropertySerializer.java index bd15c2ba3..269d686d0 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/brigadier/DoubleArgumentPropertySerializer.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/brigadier/DoubleArgumentPropertySerializer.java @@ -24,8 +24,8 @@ class DoubleArgumentPropertySerializer implements ArgumentPropertySerializer