Archiviert
1
0
Dieser Commit ist enthalten in:
yoyosource 2022-11-22 16:43:53 +01:00
Ursprung e024282a20
Commit 2e7c9e0fc7

Datei anzeigen

@ -61,7 +61,8 @@ public class CalendarCommand extends SWCommand {
SWItem swItem = b ? SWItem.getSkull("MHF_Chest") : SWItem.getSkull("MHF_Present1"); SWItem swItem = b ? SWItem.getSkull("MHF_Chest") : SWItem.getSkull("MHF_Present1");
swItem.setName(Message.parse("ADVENT_CALENDAR_DAY", player, present.getKey())); swItem.setName(Message.parse("ADVENT_CALENDAR_DAY", player, present.getKey()));
swItem.setCallback(click -> { swItem.setCallback(click -> {
if (month != Month.DECEMBER) return; if (!click.isRightClick()) return;
if (month != Month.NOVEMBER) return;
if (present.getKey() != day) return; if (present.getKey() != day) return;
// TODO: Add to schematic // TODO: Add to schematic
}); });