Update BlueMapAPI + Implementation

This commit is contained in:
Lukas Rieger (Blue) 2022-08-25 15:46:37 +02:00
parent 0e84d4f914
commit 478ccf52a5
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2
2 changed files with 6 additions and 1 deletions

@ -1 +1 @@
Subproject commit 48315370595d4d9fbccc6d73a0e3fc5aafa4aa00 Subproject commit 3bbf92965daadc3f5eee0270bc096157825fc305

View File

@ -36,6 +36,11 @@ public void setPlayerVisibility(UUID player, boolean visible) {
} }
} }
@Override
public boolean getPlayerVisibility(UUID player) {
return plugin.getPluginState().isPlayerHidden(player);
}
@Override @Override
public String createImage(BufferedImage image, String path) throws IOException { public String createImage(BufferedImage image, String path) throws IOException {
path = path.replaceAll("[^a-zA-Z0-9_.\\-/]", "_"); path = path.replaceAll("[^a-zA-Z0-9_.\\-/]", "_");