Fixed Crafting Manager displaying wrong name for chained crafters connected to some blocks. Fixes #2005

This commit is contained in:
raoulvdberge
2018-10-14 19:25:54 +02:00
parent da7f0473da
commit 2523f042da
2 changed files with 2 additions and 1 deletions

View File

@@ -286,7 +286,7 @@ public class NetworkNodeCrafter extends NetworkNode implements ICraftingPatternC
}
if (facing != null) {
return world.getBlockState(pos.offset(getDirection())).getBlock().getTranslationKey() + ".name";
return world.getBlockState(facing.getPos()).getBlock().getTranslationKey() + ".name";
}
return DEFAULT_NAME;