We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9acce7 commit 987e3acCopy full SHA for 987e3ac
1 file changed
src/main/java/com/cleanroommc/modularui/widgets/slot/FluidSlot.java
@@ -176,11 +176,10 @@ public int getSlotHoverColor() {
176
return ITheme.getDefault().getFluidSlotTheme().getSlotHoverColor();
177
}
178
179
- @NotNull
180
@Override
181
- public Result onMouseTapped(int mouseButton) {
+ public @NotNull Result onMousePressed(int mouseButton) {
182
if (!this.syncHandler.canFillSlot() && !this.syncHandler.canDrainSlot()) {
183
- return Result.IGNORE;
+ return Result.ACCEPT;
184
185
ItemStack cursorStack = Minecraft.getMinecraft().player.inventory.getItemStack();
186
if (this.syncHandler.isPhantom() || (!cursorStack.isEmpty() && cursorStack.hasCapability(CapabilityFluidHandler.FLUID_HANDLER_ITEM_CAPABILITY, null))) {
0 commit comments