Closed ethaniccc closed 4 years ago
This is a client sided bug which has already been worked around. If the existing workaround doesn't work, there's nothing more I can do that won't break other functionality.
Something I noticed: The glitch/bug doesn't occur when the Win10 player interacts with the item while looking into the air
Issue description
When looking at a block and interacting with a plugin that uses onInteract, the function is repeated when right clicked.
Steps to reproduce the issue
Make a plugin that uses onInteract, for example the following:
public function onInteract(PlayerInteractEvent $event){ $player = $event->getPlayer(); $in = $event->getPlayer()->getInventory()->getItemInHand()->getCustomName(); if($in == "Test"){ $player->sendMessage("Hi); } }
Go in-game and while staring at a block, interact with the item on Win10 by right clicking the item with the custom name
Try multiple times (if needed) until you get more than one output.
OS and versions
Plugins
CombatLogger v0.0.6, SimpleNickCommand v1, MultiWorld v1.5.2, BuilderTools v1.2.0-beta2, AlwaysSpawn v2.2.4, Mavoric v1.0.4, DevTools v1.13.5, Bot v1.0.0, PurePerms v1.4.3, VanishV2 v1.5, SkylineKitPvP v1.0.0, StaffMode v1, AltFinder v1
Crashdump, backtrace or other files