Fix oreobfuscator patch

This commit is contained in:
Ammar Askar 2013-04-04 16:08:00 +05:00
parent 1fdfed1fb9
commit 3cf9b00282

View file

@ -1,4 +1,4 @@
From 2f62fafb59381927864261a0c2b4cb4062cbddac Mon Sep 17 00:00:00 2001
From a8140d06696c7ec1a53ba9e43ea93ce4c835ad19 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sat, 23 Mar 2013 10:58:17 +1100
Subject: [PATCH] Add oreobfuscator for Spigot.
@ -164,12 +164,12 @@ index 91bed16..8af36ca 100644
if (false) { // Never trigger
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
index 8e02225..6e69856 100644
index d5bd340..2e49f5c 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
@@ -163,6 +163,13 @@ public final class CraftServer implements Server {
private WarningState warningState = WarningState.DEFAULT;
private final BooleanWrapper online = new BooleanWrapper();
public CraftScoreboardManager scoreboardManager;
+ // Orebfuscator use
+ public boolean orebfuscatorEnabled = false;
@ -398,5 +398,5 @@ index 9b85e13..a63dc22 100644
+ - world_the_end
+ blocks: [1, 5, 14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
--
1.8.1-rc2
1.7.11.msysgit.0