Skip to content

Commit

Permalink
Fix float argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
imDMK committed Aug 29, 2023
1 parent d2ef645 commit cf34da3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ private LiteCommands<CommandSender> registerLiteCommands() {
return LiteBukkitAdventurePlatformFactory.builder(this.server, "AutoMessage", false, this.bukkitAudiences, true)
.contextualBind(Player.class, new BukkitOnlyPlayerContextual<>("Command only for player"))

.argument(Float.class, "bossBarProgress", new BossBarProgressArgument(this.pluginConfiguration.notificationConfiguration))
.argument(float.class, "bossBarProgress", new BossBarProgressArgument(this.pluginConfiguration.notificationConfiguration))
.argument(NotificationType.class, new NotificationTypeArgument(this.pluginConfiguration.notificationConfiguration))
.argument(Notification.class, new NotificationArgument(this.pluginConfiguration.notificationConfiguration))

Expand Down

0 comments on commit cf34da3

Please sign in to comment.