GallowsDove / FoxyMachines

A Foxy Add-on.
GNU General Public License v3.0
4 stars 10 forks source link

Wand duplication #86

Open ybw0014 opened 2 months ago

ybw0014 commented 2 months ago

Description (Required)

Forward from https://github.com/SlimefunGuguProject/FoxyMachines/issues/29 and confirmed in the official version.

Using fill wand and and sponge wand (in offhand) at the same time will fill the water with the designated block of fill wand, even you do not have enough materials to fill.

Steps to reproduce the Issue (Required)

  1. Select a water area by location selector.
  2. Choose the material by fill wand.
  3. Put the sponge wand in offhand.
  4. Select the fill wand and right click to use both wand at the same time.
  5. The water is now replaced by the designated material, even though you don't have enough materials in your inventory.

video: https://github.com/GallowsDove/FoxyMachines/assets/7105953/aec9a45f-bfe3-4004-9c44-41630472dbc9

Expected behavior (Required)

Stop filling when materials arent enough in env.

Server Log / Error Report

Environment (Required)

Minecraft 1.20.1 purpur Slimefun Dev 1148 FoxyMachines Dev 67