mirror of
https://github.com/TeamMidnightDust/MidnightLib.git
synced 2025-12-17 01:35:10 +01:00
MidnightLib 0.2.7 - Fixes and Textured overlay buttons
- Fix #1 - The MidnightConfig overview screen button background is now based on the default button texture (Powered by new util class 'TexturedOverlayButtonWidget')
This commit is contained in:
@@ -64,7 +64,7 @@ public class WitchHatFeatureRenderer<T extends LivingEntity, M extends EntityMod
|
||||
private Identifier getHat(UUID uuid) {
|
||||
if (uuid.equals(MOTSCHEN)) {
|
||||
return MOTSCHEN_SKIN;
|
||||
} else if (HatLoader.PLAYER_HATS.containsKey(uuid)) {
|
||||
} else if (HatLoader.PLAYER_HATS != null && HatLoader.PLAYER_HATS.containsKey(uuid)) {
|
||||
if (HatLoader.PLAYER_HATS.get(uuid).getHatType().contains("contributer")) return CONTRIBUTER_SKIN;
|
||||
else if (HatLoader.PLAYER_HATS.get(uuid).getHatType().contains("friend")) return FRIEND_SKIN;
|
||||
else if (HatLoader.PLAYER_HATS.get(uuid).getHatType().contains("donator")) return DONATOR_SKIN;
|
||||
|
||||
Reference in New Issue
Block a user