diff --git a/pom.xml b/pom.xml index 8ede3ce..e9cd038 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ net.md-5 iTag - 1.1.2-SNAPSHOT + 1.1.4-SNAPSHOT jar iTag diff --git a/src/main/java/net/md_5/itag/iTag.java b/src/main/java/net/md_5/itag/iTag.java index 1c25235..0d73b64 100644 --- a/src/main/java/net/md_5/itag/iTag.java +++ b/src/main/java/net/md_5/itag/iTag.java @@ -204,4 +204,5 @@ public TagAPI getTagAPI() { public void setTagAPI(TagAPI tagAPI) { this.tagAPI = tagAPI; } + } \ No newline at end of file diff --git a/src/main/java/org/kitteh/tag/TagAPI.java b/src/main/java/org/kitteh/tag/TagAPI.java index f515e70..670dc63 100644 --- a/src/main/java/org/kitteh/tag/TagAPI.java +++ b/src/main/java/org/kitteh/tag/TagAPI.java @@ -77,7 +77,7 @@ private interface Excludes { CommandExecutor.class, TabCompleter.class, Plugin.class }) - private final iTag parent; + private static iTag parent; @Getter private PluginDescriptionFile description; // private List plugins; @@ -85,7 +85,7 @@ private interface Excludes public TagAPI(iTag parent) { - this.parent = parent; + TagAPI.parent = parent; // plugins = (List) getObj( SimplePluginManager.class, parent.getServer().getPluginManager(), "plugins" ); // lookupNames = (Map) getObj( SimplePluginManager.class, parent.getServer().getPluginManager(), "lookupNames" ); @@ -130,7 +130,7 @@ public void disablePlugin(Plugin plugin) // } // } - public void refreshPlayer(Player player) + public static void refreshPlayer(Player player) { if ( parent != null ) { @@ -138,7 +138,7 @@ public void refreshPlayer(Player player) } } - public void refreshPlayer(Player player, Player forWhom) + public static void refreshPlayer(Player player, Player forWhom) { if ( parent != null ) { @@ -146,7 +146,7 @@ public void refreshPlayer(Player player, Player forWhom) } } - public void refreshPlayer(Player player, Set forWhom) + public static void refreshPlayer(Player player, Set forWhom) { if ( parent != null ) { diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 476a125..b3601fe 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,6 +1,6 @@ -name: iTag -version: 1.1.2 -description: Name tag API which is backwards compatible with TagAPI +name: TagAPI +version: 1.1.4 +description: Actually is iTag - Name tag API which is backwards compatible with TagAPI author: md_5 load: STARTUP