From f0907ce954e0c8594ce339773cc7c53f3e21e702 Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Sun, 12 Feb 2012 23:59:29 -0600 Subject: [PATCH] Add assetPlayerVisbility() API --- src/main/java/org/dynmap/bukkit/DynmapPlugin.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/main/java/org/dynmap/bukkit/DynmapPlugin.java b/src/main/java/org/dynmap/bukkit/DynmapPlugin.java index 7a2c3185..6396b60a 100644 --- a/src/main/java/org/dynmap/bukkit/DynmapPlugin.java +++ b/src/main/java/org/dynmap/bukkit/DynmapPlugin.java @@ -928,4 +928,16 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI { Plugin plugin) { 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()); + } }