From 363a63bf3a82cfc84a02f939de009ad9f461c22c Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Wed, 10 Apr 2013 08:55:32 +0200 Subject: [PATCH] No outer API plox. The inner classes should be improved to be good enough. --- src/com/massivecraft/factions/Factions.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/com/massivecraft/factions/Factions.java b/src/com/massivecraft/factions/Factions.java index 6e7170b7..3aa51582 100644 --- a/src/com/massivecraft/factions/Factions.java +++ b/src/com/massivecraft/factions/Factions.java @@ -3,13 +3,6 @@ package com.massivecraft.factions; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Arrays; -import java.util.HashSet; -import java.util.Set; - -import org.bukkit.block.Block; -import org.bukkit.entity.Player; -import org.bukkit.Location; -import org.bukkit.Material; import com.massivecraft.factions.adapters.FFlagTypeAdapter; import com.massivecraft.factions.adapters.FPermTypeAdapter; @@ -221,6 +214,10 @@ public class Factions extends MPlugin // -------------------------------------------- // // Functions for other plugins to hook into // -------------------------------------------- // + // TODO: This "outer API" is removed. I should ensure these features are + // available using the appropriate classes and then remove this commented out section below. + + /* // This value will be updated whenever new hooks are added public int hookSupportVersion() @@ -339,4 +336,7 @@ public class Factions extends MPlugin { return FactionsPlayerListener.playerCanUseItemHere(player, location, material, true); } + + */ + }