2013-07-11 03:31:30 +02:00
|
|
|
From 42ff63133d4fb993c1242d0db04e02c23dd9f3a9 Mon Sep 17 00:00:00 2001
|
2013-05-19 10:30:26 +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
|
|
|
|
index 03aa219..a45c4ea 100644
|
|
|
|
--- a/src/main/java/net/minecraft/server/PropertyManager.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/PropertyManager.java
|
|
|
|
@@ -53,7 +53,7 @@ public class PropertyManager {
|
|
|
|
}
|
|
|
|
|
|
|
|
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-06-02 07:15:15 +02:00
|
|
|
1.8.1.2
|
2013-05-19 10:30:26 +02:00
|
|
|
|