mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-28 15:36:18 +00:00
Add missing Side Only Annotations Fix #2076
This commit is contained in:
1 parent
aa45da81ba
commit
6efbd6e158
54 files changed
+211
-5
No files matched your search
@@ -32,6 +32,9 @@ import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.JsonUtils;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
|
||||
import forestry.api.book.BookContent;
|
||||
import forestry.api.book.IBookEntryBuilder;
|
||||
import forestry.api.book.IBookLoader;
|
||||
@@ -54,6 +57,7 @@ import forestry.core.utils.Log;
|
||||
import forestry.core.utils.ResourceUtil;
|
||||
import forestry.modules.ModuleHelper;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public class BookLoader implements IResourceManagerReloadListener, IBookLoader {
|
||||
public static final Gson GSON = new GsonBuilder()
|
||||
.registerTypeAdapter(BookContent.class, new BookContentDeserializer())
|
||||
|
||||
Reference in new issue
Block a user