File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/main/java/com/cleanroommc/modularui/widgets/slot Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -176,11 +176,10 @@ public int getSlotHoverColor() {
176176 return ITheme .getDefault ().getFluidSlotTheme ().getSlotHoverColor ();
177177 }
178178
179- @ NotNull
180179 @ Override
181- public Result onMouseTapped (int mouseButton ) {
180+ public @ NotNull Result onMousePressed (int mouseButton ) {
182181 if (!this .syncHandler .canFillSlot () && !this .syncHandler .canDrainSlot ()) {
183- return Result .IGNORE ;
182+ return Result .ACCEPT ;
184183 }
185184 ItemStack cursorStack = Minecraft .getMinecraft ().player .inventory .getItemStack ();
186185 if (this .syncHandler .isPhantom () || (!cursorStack .isEmpty () && cursorStack .hasCapability (CapabilityFluidHandler .FLUID_HANDLER_ITEM_CAPABILITY , null ))) {
You can’t perform that action at this time.
0 commit comments