2015-05-25 14:05:40 +02:00
|
|
|
From 7003a11b6d4ce715147b1ede2c6bb8ad53ca95e3 Mon Sep 17 00:00:00 2001
|
2014-07-21 22:46:54 +02:00
|
|
|
From: md_5 <md_5@live.com.au>
|
|
|
|
Date: Sun, 19 May 2013 18:29:48 +1000
|
|
|
|
Subject: [PATCH] Remove -o Option
|
|
|
|
|
|
|
|
Serves no purpose other than to confuse users.
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/PropertyManager.java b/src/main/java/net/minecraft/server/PropertyManager.java
|
2015-02-28 12:36:22 +01:00
|
|
|
index dbb329c..0549a0f 100644
|
2014-07-21 22:46:54 +02:00
|
|
|
--- a/src/main/java/net/minecraft/server/PropertyManager.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/PropertyManager.java
|
2015-02-28 12:36:22 +01:00
|
|
|
@@ -54,7 +54,7 @@ public class PropertyManager {
|
2014-07-21 22:46:54 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
private <T> T getOverride(String name, T value) {
|
|
|
|
- if ((this.options != null) && (this.options.has(name))) {
|
|
|
|
+ if ((this.options != null) && (this.options.has(name)) && !name.equals( "online-mode")) { // Spigot
|
|
|
|
return (T) this.options.valueOf(name);
|
|
|
|
}
|
|
|
|
|
|
|
|
--
|
2015-05-09 22:23:26 +02:00
|
|
|
2.1.4
|
2014-07-21 22:46:54 +02:00
|
|
|
|