No outer API plox. The inner classes should be improved to be good enough.
This commit is contained in:
parent
6d75465938
commit
363a63bf3a
@ -3,13 +3,6 @@ package com.massivecraft.factions;
|
|||||||
import java.lang.reflect.Modifier;
|
import java.lang.reflect.Modifier;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
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.FFlagTypeAdapter;
|
||||||
import com.massivecraft.factions.adapters.FPermTypeAdapter;
|
import com.massivecraft.factions.adapters.FPermTypeAdapter;
|
||||||
@ -221,6 +214,10 @@ public class Factions extends MPlugin
|
|||||||
// -------------------------------------------- //
|
// -------------------------------------------- //
|
||||||
// Functions for other plugins to hook into
|
// 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
|
// This value will be updated whenever new hooks are added
|
||||||
public int hookSupportVersion()
|
public int hookSupportVersion()
|
||||||
@ -339,4 +336,7 @@ public class Factions extends MPlugin
|
|||||||
{
|
{
|
||||||
return FactionsPlayerListener.playerCanUseItemHere(player, location, material, true);
|
return FactionsPlayerListener.playerCanUseItemHere(player, location, material, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user