Add API to test for player info protection
This commit is contained in:
parent
39c5388a64
commit
3c3608bb5f
1 changed files with 4 additions and 1 deletions
|
|
@ -1230,5 +1230,8 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
|
||||||
public boolean testIfPlayerVisibleToPlayer(String player, String player_to_see) {
|
public boolean testIfPlayerVisibleToPlayer(String player, String player_to_see) {
|
||||||
return core.testIfPlayerVisibleToPlayer(player, player_to_see);
|
return core.testIfPlayerVisibleToPlayer(player, player_to_see);
|
||||||
}
|
}
|
||||||
|
@Override
|
||||||
|
public boolean testIfPlayerInfoProtected() {
|
||||||
|
return core.testIfPlayerInfoProtected();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue