13
0
geforkt von Mirrors/Paper

SPIGOT-4758: --server-port argument does not work

Dieser Commit ist enthalten in:
md_5 2019-04-26 09:11:47 +10:00
Ursprung 28adbcff5b
Commit a9ed334643

Datei anzeigen

@ -20,9 +20,9 @@
+ this.options = options; + this.options = options;
} }
+ private <T> T getOverride(String name, T value) { + private String getOverride(String name, String value) {
+ if ((this.options != null) && (this.options.has(name))) { + if ((this.options != null) && (this.options.has(name))) {
+ return (T) this.options.valueOf(name); + return String.valueOf(this.options.valueOf(name));
+ } + }
+ +
+ return value; + return value;