Add assetPlayerVisbility() API

This commit is contained in:
Mike Primm 2012-02-12 23:59:29 -06:00
parent 7ce55a3fd3
commit f0907ce954

View File

@ -928,4 +928,16 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
Plugin plugin) { Plugin plugin) {
core.assertPlayerInvisibility(player.getName(), is_invisible, plugin.getDescription().getName()); core.assertPlayerInvisibility(player.getName(), is_invisible, plugin.getDescription().getName());
} }
@Override
public void assertPlayerVisibility(String player, boolean is_visible,
String plugin_id) {
core.assertPlayerVisibility(player, is_visible, plugin_id);
}
@Override
public void assertPlayerVisibility(Player player, boolean is_visible,
Plugin plugin) {
core.assertPlayerVisibility(player.getName(), is_visible, plugin.getDescription().getName());
}
} }