Fix mouse tweaks interfering with Crafter Manager

This commit is contained in:
raoulvdberge
2018-04-06 11:30:52 +02:00
parent f04bbb4669
commit e3654fed56
2 changed files with 16 additions and 0 deletions

View File

@@ -15,10 +15,12 @@ import com.raoulvdberge.refinedstorage.util.RenderUtils;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.resources.I18n;
import net.minecraft.inventory.Slot;
import yalter.mousetweaks.api.MouseTweaksDisableWheelTweak;
import java.io.IOException;
import java.util.Map;
@MouseTweaksDisableWheelTweak
public class GuiCrafterManager extends GuiBase implements IResizableDisplay {
private ContainerCrafterManager container;
private NetworkNodeCrafterManager crafterManager;

View File

@@ -0,0 +1,14 @@
package yalter.mousetweaks.api;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Put this on your GuiScreen to disable the wheel tweak.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface MouseTweaksDisableWheelTweak {
}