mappings
This commit is contained in:
1 parent
6108cdce23
commit
257aca4254
4 files changed
+13
-14
No files matched your search
@@ -27,7 +27,7 @@ public abstract class ContainerMixin
|
||||
|
||||
@Shadow @Final public DefaultedList<Slot> slots;
|
||||
|
||||
@Inject( method = "removeStack", at = @At(value = "HEAD"), cancellable = true)
|
||||
@Inject( method = "internalOnSlotClick", at = @At(value = "HEAD"), cancellable = true)
|
||||
private void onThrowClick( int slotId, int clickData, SlotActionType actionType, PlayerEntity playerEntity, CallbackInfoReturnable<ItemStack> cir)
|
||||
{
|
||||
if (actionType == SlotActionType.THROW && CarpetSettings.ctrlQCraftingFix && playerEntity.getInventory().getCursorStack().isEmpty() && slotId >= 0)
|
||||
|
||||
Reference in new issue
Block a user