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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user