9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-31 12:56:39 +00:00

Moved wardrobe check before startup

This commit is contained in:
LoJoSho
2022-11-10 22:52:34 -06:00
parent 451ddf4779
commit 65cfd902d2
2 changed files with 5 additions and 5 deletions

View File

@@ -41,11 +41,6 @@ public class Wardrobe {
player.sendMessage("NPC ID " + NPC_ID);
player.sendMessage("armorstand id " + ARMORSTAND_ID);
if (!WardrobeSettings.inDistanceOfStatic(player.getLocation())) {
player.sendMessage("You are to far away!");
return;
}
this.originalGamemode = player.getGameMode();
if (WardrobeSettings.isReturnLastLocation()) {
this.exitLocation = player.getLocation().clone();