mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2026-01-04 15:41:45 +00:00
feat: check if wardrobe locations are not null
This commit is contained in:
@@ -26,6 +26,11 @@ public class WardrobeLocation {
|
||||
return leaveLocation.clone();
|
||||
}
|
||||
|
||||
public boolean hasAllLocations() {
|
||||
if (npcLocation == null || viewerLocation == null || leaveLocation == null) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
public void setNPCLocation(Location wardrobeLocation) {
|
||||
this.npcLocation = wardrobeLocation;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user