Updated-NoCheatPlus / NoCheatPlus

Anti-cheating plugin for Minecraft (1.5-1.20, Bukkit/Spigot)
https://ci.codemc.io/job/Updated-NoCheatPlus/job/Updated-NoCheatPlus/
GNU General Public License v3.0
468 stars 103 forks source link

Middle clicking an item frame, then hitting it, triggers ImpossibleHit #329

Open EpicKnarvik97 opened 6 months ago

EpicKnarvik97 commented 6 months ago

Complete output of the ncp version command (please prefer text here)

17:13:09 INFO: »Version information«

17:13:09 INFO: git-Paper-318 ~MC: 1.20.2~ 17:13:09 INFO: Detected: 1.20.2

17:13:09 INFO: Plugin: 3.17.1-SNAPSHOT-Updated-b176 17:13:09 INFO: MCAccess: 1.13-1.20|? / Bukkit-API

17:13:09 INFO: blocks: BlocksMC1_4, BlocksMC1_5, BlocksMC1_6_1, BlocksMC1_7_2, BlocksMC1_8, BlocksMC1_9, BlocksMC1_10, BlocksMC1_11, BlocksMC1_12, BlocksMC1_13, BlocksMC1_14, BlocksMC1_15, BlocksMC1_16, BlocksMC1_17, BlocksMC1_19, BlocksMC1_20, MCAccessBukkitModern 17:13:09 INFO: checks: FastConsume, Gutenberg, HotFixFallingBlockPortalEnter, AttackFrequency, FlyingFrequency, KeepAliveFrequency 17:13:09 INFO: defaults: pvpKnockBackVelocity 17:13:09 INFO: packet-listeners: UseEntityAdapter, MovingFlying, OutgoingPosition, KeepAliveAdapter, SoundDistance, WrongTurnAdapter, NoSlow, Fight

AllViolations~NCP~ 1.0, Citizens2~cncp~ 2.0, mcMMO~cncp~ 2.3, ViolationFrequency~NCP~ 1.0 17:13:09 INFO: »Related Plugins« 17:13:09 INFO: CompatNoCheatPlus v6.6.7-SNAPSHOT-b10, ProtocolLib v5.1.1-SNAPSHOT-669, ViaVersion v4.9.2

Short description of the issue and how to reproduce (is it random / always happens / side conditions ?)

Middle-clicking an item frame that contains an item, in creative mode, with an empty inventory (thus getting the item), triggers ImpossibleHit when an item fram containing an item is subsequently hit.

Put an item in an item frame. Enter creative. Clear your inventory. Middle-click the item in the item frame to get it on your hotbar. Hit the item to remove the item from the item frame. Instead of the item being removed from the item frame, the message "failed ImpossibleHit: tried to hit an entity while performing another action (Tags: inventoryopen)" is shown.

ImpossibleHit triggers if hitting any other item frame with an item as well (once the item has been middle-clicked), but it doesn't trigger if hitting an empty item frame. Middle-clicking an empty item frame does not trigger ImpossibleHit at all.

Have you made any (noteworthy) changes to the default configuration of NCP?

No

Do you run any other special plugins that affect game mechanics next to NC+ (skills, machines, adding/changing blocks, other anti-cheating)?

mcMMO, CraftBook, ImageFrame

Provide additional information: for bypasses, vulnerabilities and reproducible issues, we request a debug log. Use GitHub gists or PasteBin or similar for errors and huge logs, or attach a (zip-) file here.