Skip to content

Commit

Permalink
v1.0.1
Browse files Browse the repository at this point in the history
* remove debug message that was accidently left in
  • Loading branch information
stumper66 committed Aug 30, 2024
1 parent bacc942 commit 5a7ee6b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.github.stumper66</groupId>
<artifactId>VillagerAnnoucer</artifactId>
<version>1.0</version>
<version>1.0.1</version>
<packaging>jar</packaging>

<name>VillagerAnnouncer</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ private void runBroadcast(final String text){
final String message = MessageUtils.colorizeAll(text);
for (Player player : Bukkit.getOnlinePlayers()){
if (!checkWorldPermissions(player, allowedWorlds)) continue;
Log.inf("requiresPermissions: " + requiresPermissions + ", has perms: " + player.hasPermission(permissionName));
if (requiresPermissions && !player.hasPermission(permissionName)) continue;

player.sendMessage(message);
Expand Down

0 comments on commit 5a7ee6b

Please sign in to comment.