Merge pull request #12 from nickreesdev/master
Changed a message in DeliveryManMenu to use the static DELIVERY_MAN_NAME field.
This commit is contained in:
commit
c128e1ad5f
@ -89,7 +89,7 @@ public class DeliveryManMenu extends UpdatableMenu {
|
||||
itemBuilder.setLore(lore);
|
||||
set(1, slot, new Button(itemBuilder.toItemStack(), event -> {
|
||||
if (!canClaim) {
|
||||
player.sendMessage(Style.main("Harold", "You can not claim this reward right now!"));
|
||||
player.sendMessage(Style.main(DeliveryManManager.DELIVERY_MAN_NAME, "You can not claim this reward right now!"));
|
||||
player.playSound(player.getLocation(), XSound.ENTITY_ENDERMITE_AMBIENT.parseSound(), 0.9f, 1f);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user