Commit 695b2168 authored by primetoxinz's avatar primetoxinz

Bump Version

parent f7d6ce08
[submodule "src/main/resources/assets/betterwithmods/patchouli_books/betterwithmods"]
path = src/main/resources/assets/betterwithmods/patchouli_books/betterwithmods
url = https://gitlab.com/BetterWithMods/patchouli_book
[submodule "src/main/resources/assets/betterwithmods/documentation"]
path = src/main/resources/assets/betterwithmods/documentation
url = git@gitlab.com:BetterWithMods/Documentation.git
branch = master
......@@ -11,7 +11,7 @@ buildscript {
apply plugin: "maven"
apply plugin: 'net.minecraftforge.gradle.forge'
version = "1.12-2.3.16"
version = "1.12-2.3.17"
group = "betterwithmods"
archivesBaseName = "BetterWithMods"
......
......@@ -10,7 +10,6 @@ import net.minecraft.item.ItemStack;
import net.minecraft.util.*;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import net.minecraftforge.fml.common.Loader;
import javax.annotation.Nullable;
import java.util.List;
......@@ -25,9 +24,7 @@ public final class ItemBookManual extends ItemBook {
@Override
public void getSubItems(CreativeTabs tab, NonNullList<ItemStack> items) {
if (!Loader.isModLoaded("patchouli")) {
super.getSubItems(tab, items);
}
super.getSubItems(tab, items);
}
public static boolean tryOpenManual(final World world, final EntityPlayer player, @Nullable final String path) {
......
package betterwithmods.manual.custom;
import betterwithmods.BWMod;
import betterwithmods.common.BWMBlocks;
import betterwithmods.common.blocks.BlockAesthetic;
import betterwithmods.common.blocks.mechanical.BlockMechMachines;
......@@ -74,7 +75,7 @@ public class StatePathProvider implements PathProvider {
private String defaultPathFor(IBlockState state) {
Block block = state.getBlock();
ResourceLocation loc = block.getRegistryName();
if (loc != null) {
if (loc != null && loc.getNamespace().equalsIgnoreCase(BWMod.MODID)) {
String name = loc.getPath();
return String.format("%%LANGUAGE%%/blocks/%s.md", name);
}
......
Subproject commit a573cab77316a157056d80690b097e86f4e9a27e
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment