Skip to content
Permalink
Browse files

Fix #1860 Mystical Agriculture Integration (Could not find item)

  • Loading branch information
Nedelosk committed Oct 7, 2017
1 parent 25bb682 commit 905e81c2b9dc07f96844c7da97b4e3d504bed3e8
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/main/java/forestry/plugins/compat/CompatPlugin.java
@@ -57,7 +57,7 @@ protected Block getBlock(@Nonnull String blockName) {
if (ForgeRegistries.BLOCKS.containsKey(key)) {
return ForgeRegistries.BLOCKS.getValue(key);
}
Log.error("Could not find block {}", key);
Log.debug("Could not find block {}", key);
return null;
}

@@ -67,15 +67,15 @@ protected Item getItem(String itemName) {
if (ForgeRegistries.ITEMS.containsKey(key)) {
return ForgeRegistries.ITEMS.getValue(key);
}
Log.error("Could not find item {}", key);
Log.debug("Could not find item {}", key);
return null;
}

@Nullable
protected Fluid getFluid(String fluidName) {
Fluid fluid = FluidRegistry.getFluid(fluidName);
if (fluid == null) {
Log.error("Could not find fluid {}", fluidName);
Log.debug("Could not find fluid {}", fluidName);
}
return fluid;
}

0 comments on commit 905e81c

Please sign in to comment.
You can’t perform that action at this time.