From 519f0e115364bd42408819faa874235541057c99 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Fri, 26 Apr 2019 09:11:47 +1000 Subject: [PATCH] SPIGOT-4758: --server-port argument does not work By: md_5 --- paper-server/nms-patches/PropertyManager.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paper-server/nms-patches/PropertyManager.patch b/paper-server/nms-patches/PropertyManager.patch index 475f28b41b..f7c9a5b26c 100644 --- a/paper-server/nms-patches/PropertyManager.patch +++ b/paper-server/nms-patches/PropertyManager.patch @@ -20,9 +20,9 @@ + this.options = options; } -+ private T getOverride(String name, T value) { ++ private String getOverride(String name, String value) { + if ((this.options != null) && (this.options.has(name))) { -+ return (T) this.options.valueOf(name); ++ return String.valueOf(this.options.valueOf(name)); + } + + return value;