Skip to content

Commit

Permalink
Random changes, that I had lying around
Browse files Browse the repository at this point in the history
  • Loading branch information
GirafiStudios committed Sep 15, 2022
1 parent 8223939 commit 5ba9c5b
Show file tree
Hide file tree
Showing 4 changed files with 118 additions and 117 deletions.
Expand Up @@ -28,11 +28,13 @@ public ServalRenderer(EntityRendererProvider.Context context) {
@Override
@Nonnull
public ResourceLocation getTextureLocation(ServalEntity entity) {
if (entity.hasCustomName() && entity.getCustomName().getString().equals("azure")) {
return AZURE;
} else {
return entity.getResourceLocation();
if (entity.hasCustomName() && entity.getCustomName() != null) {
String customName = entity.getCustomName().getString();
if (customName.equalsIgnoreCase("azure") || customName.equalsIgnoreCase("azu") || customName.equalsIgnoreCase("azuriuz")) {
return AZURE;
}
}
return entity.getResourceLocation();
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/teammetallurgy/atum/misc/AtumConfig.java
Expand Up @@ -165,7 +165,7 @@ public static class Mobs {
public Mobs(ForgeConfigSpec.Builder builder) {
builder.push(MOBS);
this.banditPatrolFrequency = builder.comment("How frequent Bandit patrols are. The higher the number, the less patrols will spawn")
.defineInRange("banditPatrolFrequency", 70, -1, 10000);
.defineInRange("banditPatrolFrequency", 20000, -1, 100000);
this.markedForDeathTimeBaseValue = builder.comment("How long time is required for an Assassin to spawn. The higher the number, the less frequent Assassin will spawn")
.defineInRange("markedForDeathFrequency", 1000, 1, 10000);
this.displayPharaohSlainMessage = builder.comment("Whether a message should be broadcast to everybody, when a Pharaoh have been killed")
Expand Down

0 comments on commit 5ba9c5b

Please sign in to comment.