2014-01-22 08:19:39 +00:00
|
|
|
From f06705bc41d4f4406c29bbed39ce22439ded5b7c Mon Sep 17 00:00:00 2001
|
2013-05-19 08:30:26 +00: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
|
2013-12-01 03:40:53 +00:00
|
|
|
index bb535c2..93968bd 100644
|
2013-05-19 08:30:26 +00:00
|
|
|
--- a/src/main/java/net/minecraft/server/PropertyManager.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/PropertyManager.java
|
2013-12-01 03:40:53 +00:00
|
|
|
@@ -52,7 +52,7 @@ public class PropertyManager {
|
2013-05-19 08:30:26 +00: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);
|
|
|
|
}
|
|
|
|
|
|
|
|
--
|
2013-12-01 03:40:53 +00:00
|
|
|
1.8.3.2
|
2013-05-19 08:30:26 +00:00
|
|
|
|