No longer take thirst damage while doing the tutorial

Survival Expert can now correctly return your axe if you somehow manage to lose it
Fixed a hint arrow location in tutorial
This commit is contained in:
Ceikry
2022-03-20 23:33:36 +00:00
committed by Ryan
parent 4d72ebef6f
commit 8144faa37b
3 changed files with 3 additions and 2 deletions
@@ -54,7 +54,7 @@ public final class DesertZone extends MapZone implements Plugin<Object> {
@Override
public boolean pulse() {
for (Player player : PLAYERS) {
if (player.getInterfaceManager().isOpened() || player.getInterfaceManager().hasChatbox() || player.getLocks().isMovementLocked()) {
if (!player.getAttribute("tutorial:complete", false) || player.getInterfaceManager().isOpened() || player.getInterfaceManager().hasChatbox() || player.getLocks().isMovementLocked()) {
continue;
}
if (player.getAttribute("desert-delay", -1) < GameWorld.getTicks()) {