diff --git a/.gitignore b/.gitignore index db4ec2845..5871fabb7 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,6 @@ ehthumbs_vista.db [Dd]esktop.ini $RECYCLE.BIN/ *.lnk + +### VSCode ### +/.vscode/ diff --git a/build.gradle b/build.gradle index 6cba10e01..8d01733d5 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { } group = "eu.decentsoftware.holograms" -version = "2.8.17" +version = "2.8.18" description = "A lightweight yet very powerful hologram plugin with many features and configuration options." repositories { diff --git a/src/main/java/eu/decentsoftware/holograms/plugin/commands/PageSubCommand.java b/src/main/java/eu/decentsoftware/holograms/plugin/commands/PageSubCommand.java index 0f9781066..209ed57c0 100644 --- a/src/main/java/eu/decentsoftware/holograms/plugin/commands/PageSubCommand.java +++ b/src/main/java/eu/decentsoftware/holograms/plugin/commands/PageSubCommand.java @@ -336,6 +336,12 @@ public CommandHandler getCommandHandler() { return true; } if (args.length > 2 && sender.hasPermission("dh.admin")) { + if (args[2].equals("*")) { + for (Player player : Bukkit.getOnlinePlayers()) { + hologram.show(player, index); + } + return true; + } Player player = Bukkit.getPlayer(args[2]); if (player != null && player.isOnline()) { hologram.show(player, index);