Add assertPlayerInvisibility() API

This commit is contained in:
Mike Primm 2012-02-08 01:05:53 -06:00
parent 45574b3b9e
commit 7e850a2668

View File

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