Resolve more client/server sided issues

using Minecraft Development for IntelliJ IDEA plugin.
https://plugins.jetbrains.com/idea/plugin/8327-minecraft-development
This commit is contained in:
mezz committed 2017-02-09 20:13:10 -08:00
1 parent b8acba968e
commit 2423adae4c
98 files changed
+703 -353

No files matched your search

@@ -13,6 +13,8 @@ import binnie.craftgui.resource.Texture;
import binnie.craftgui.resource.minecraft.StandardTexture;
import binnie.extrabees.core.ExtraBeeTexture;
import forestry.api.genetics.IChromosomeType;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
public class ControlChromoPicker extends Control implements ITooltip {
Texture Selected;
@@ -42,6 +44,7 @@ public class ControlChromoPicker extends Control implements ITooltip {
}
@Override
@SideOnly(Side.CLIENT)
public void onRenderBackground(int guiWidth, int guiHeight) {
super.onRenderBackground(guiWidth, guiHeight);
final boolean selected = this.isMouseOver();