yapzhenyie / GadgetsMenu

Feature-rich cosmetics plugin that provide players with the most powerful features.
http://bit.ly/GadgetsMenu
65 stars 24 forks source link

Paintball Gun Gadget Glitching Pistons #947

Open sxjx opened 1 year ago

sxjx commented 1 year ago

Describe the bug Using the paintball gadget on blocks next to a piston setup, where the pistons are able to move the blocks, allowed the terracotta to be moved and therefore mined, causing it to duplicate. Using the paintball gadget within the vicinity of pistons, also replaces the piston heads to terracotta, and therefore visually makes the pistons look broken. When blocks are placed to fix the visual bug, the blocks get removed, resulting in the player losing blocks.

To Reproduce Steps to reproduce the behaviour:

  1. Make a sticky piston setup, where it can stick to blocks and pull it back towards them.
  2. Having normal blocks in front of the sticky pistons, use the paintball gadget to paint the blocks, so the terracotta is on the blocks closest to the pistons, but with a 1 block gap.
  3. Activate the sticky pistons, so they extend and stick to the terracotta, then deactivate so they retract with the terracotta still attached.
  4. Mine the terracotta that has been moved with the pistons.

For the second glitch:

  1. Have no surrounding blocks in front of the sticky pistons, then use the paintball gadget.
  2. The paintball gadget will replace the piston heads, then disappear, causing a broken looking piston visually.
  3. Place blocks where the piston head should be. They should make the piston head return visually, but will remove the blocks that were placed.

Expected behaviour The Terracotta should not be able to be moved with pistons and then not counted towards being apart of the gadget which allows players to mine them.

The Terracotta should also not be able to break Piston Heads.

Further Information (please complete the following information):

Screenshots https://imgur.com/jSBG6Ro Pistons pulling the terracotta allowing it to be mined https://imgur.com/rtTlgo8 Gadget breaking the Piston Heads and then removing placed blocks to correct them

Additional Information Any other information that you would like to provide that may be relevant to the issue?