mirror of
https://github.com/webbukkit/dynmap.git
synced 2025-01-14 03:31:21 +01:00
Add assertPlayerInvisibility() API
This commit is contained in:
parent
45574b3b9e
commit
7e850a2668
@ -888,4 +888,16 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
|
|||||||
public boolean hasSpout() {
|
public boolean hasSpout() {
|
||||||
return has_spout;
|
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());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user