Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

Commit

Permalink
Fix compile issues
Browse files Browse the repository at this point in the history
  • Loading branch information
percivalalb committed Oct 9, 2020
1 parent d6a1480 commit cff284d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/api/java/doggytalents/api/DoggyTalentsAPI.java
@@ -1,5 +1,8 @@
package doggytalents.api;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import doggytalents.api.registry.Accessory;
import doggytalents.api.registry.AccessoryType;
import doggytalents.api.registry.IBeddingMaterial;
Expand All @@ -17,4 +20,6 @@ public class DoggyTalentsAPI {
public static IForgeRegistry<AccessoryType> ACCESSORY_TYPE;
public static IForgeRegistry<IBeddingMaterial> BEDDING_MATERIAL;
public static IForgeRegistry<ICasingMaterial> CASING_MATERIAL;

public static final Logger LOGGER = LogManager.getLogger("doggytalents");
}
Expand Up @@ -3,7 +3,6 @@
import java.util.Comparator;
import java.util.Optional;

import doggytalents.DoggyTalents2;
import doggytalents.api.DoggyTalentsAPI;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.CompoundNBT;
Expand Down Expand Up @@ -54,7 +53,7 @@ public static Optional<AccessoryInstance> readInstance(CompoundNBT compound) {
Accessory type = DoggyTalentsAPI.ACCESSORIES.getValue(rl);
return Optional.of(type.read(compound));
} else {
DoggyTalents2.LOGGER.warn("Failed to load accessory {}", rl);
DoggyTalentsAPI.LOGGER.warn("Failed to load accessory {}", rl);
return Optional.empty();
}
}
Expand Down

0 comments on commit cff284d

Please sign in to comment.