mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-01 06:33:38 +01:00
Add assetPlayerVisbility() API
This commit is contained in:
parent
7ce55a3fd3
commit
f0907ce954
@ -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());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user