Skip to content

Commit

Permalink
V1.3 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
SB2DD committed Apr 14, 2021
1 parent c653b62 commit 86faf84
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/main/java/me/polishkrowa/ctrlqforge/CtrlqForge.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@
@Mod("ctrlq-forge")
public class CtrlqForge {


}
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ public class MixinHandledScreen {

@Inject(method = "keyPressed", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/gui/screen/inventory/ContainerScreen;hasControlDown()Z"), cancellable = true)
private void injected(int keyCode, int scanCode, int modifiers, CallbackInfoReturnable<Boolean> cir) {
//this.handleMouseClick(this.hoveredSlot, this.hoveredSlot.slotNumber, (InputMappings.isKeyDown(Minecraft.getInstance().getMainWindow().getHandle(), 341) || InputMappings.isKeyDown(Minecraft.getInstance().getMainWindow().getHandle(), 345)) ? 1 : 0, ClickType.THROW);

this.handleMouseClick(this.hoveredSlot, this.hoveredSlot.slotNumber, InputMappings.isKeyDown(Minecraft.getInstance().getMainWindow().getHandle(), 341) || InputMappings.isKeyDown(Minecraft.getInstance().getMainWindow().getHandle(), 345) ? 1 : 0, ClickType.THROW);
//this.handleMouseClick(this.hoveredSlot, this.hoveredSlot.slotNumber, 1 , ClickType.THROW);
cir.setReturnValue(true);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@ private void injected(CallbackInfo ci) {
}
ci.cancel();
}
//(InputMappings.isKeyDown(Minecraft.getInstance().getMainWindow().getHandle(), 341) || InputMappings.isKeyDown(Minecraft.getInstance().getMainWindow().getHandle(), 345))
}

0 comments on commit 86faf84

Please sign in to comment.