mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-22 02:25:28 +01:00
TagAPI is installed, I swear.
This commit is contained in:
parent
069706b11b
commit
59ccb11830
25
Bukkit-Patches/0005-TagAPI.patch
Normal file
25
Bukkit-Patches/0005-TagAPI.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user