PaperMC/Bukkit-Patches/0005-TagAPI.patch
2013-02-20 20:16:54 +11:00

25 lines
887 B
Diff

From db9d11eeb2b1c429c6ba281d8f2ffabf3e3c5721 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Wed, 20 Feb 2013 20:16:40 +1100
Subject: [PATCH] TagAPI
---
src/main/java/org/bukkit/plugin/SimplePluginManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/bukkit/plugin/SimplePluginManager.java b/src/main/java/org/bukkit/plugin/SimplePluginManager.java
index 4049d3a..9560cec 100644
--- a/src/main/java/org/bukkit/plugin/SimplePluginManager.java
+++ b/src/main/java/org/bukkit/plugin/SimplePluginManager.java
@@ -354,7 +354,7 @@ public final class SimplePluginManager implements PluginManager {
public boolean isPluginEnabled(String name) {
Plugin plugin = getPlugin(name);
- return isPluginEnabled(plugin);
+ return name.equals("TagAPI") || isPluginEnabled(plugin);
}
/**
--
1.8.1-rc2