Skip to content

Commit

Permalink
Update NoSleepAdv.java
Browse files Browse the repository at this point in the history
maybe it works now
  • Loading branch information
EmperorNumerius authored May 16, 2024
1 parent 96fc559 commit 035e397
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
import org.bukkit.Statistic;
import org.bukkit.event.player.PlayerBedEnterEvent;

public class SleeplessAdv extends BaseAdvancement {
public class NoSleepAdv extends BaseAdvancement {
static final AdvancementDisplayBuilder<AdvancementDisplay.Builder, AdvancementDisplay> displayBuilder =
new AdvancementDisplay.Builder(Material.BED, "No Sleep???")
new AdvancementDisplay.Builder(Material.RED_BED, "No Sleep???")
.challengeFrame()
.announceChat()
.showToast()
.description("Stay awake for one full week");
static final int maxProgression = 1;

public SleeplessAdv(Advancement root, AdvancementKey key,
public NoSleepAdv(Advancement root, AdvancementKey key,
CoordAdapter adapter) {
super(key.getKey(), displayBuilder.coords(adapter, key).build(), root, maxProgression);

Expand Down

0 comments on commit 035e397

Please sign in to comment.