Dieser Commit ist enthalten in:
Ursprung
e024282a20
Commit
2e7c9e0fc7
@ -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
|
||||||
});
|
});
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren