geforkt von SteamWar/BungeeCore
Fix click
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.setName(Message.parse("ADVENT_CALENDAR_DAY", player, present.getKey()));
|
||||
swItem.setCallback(click -> {
|
||||
if (month != Month.DECEMBER) return;
|
||||
if (!click.isRightClick()) return;
|
||||
if (month != Month.NOVEMBER) return;
|
||||
if (present.getKey() != day) return;
|
||||
// TODO: Add to schematic
|
||||
});
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren