Closed wellnesscookie closed 5 years ago
Any errors in console?
Yes,
When I tried to complete with x64 arrows: [11:50:38 ERROR]: [BentoBox] [Challenges] Could not remove 64 of ARROW from player's inventory! [11:50:38 ERROR]: [BentoBox] [Challenges] Could not remove 64 of ARROW from player's inventory! [11:50:38 ERROR]: [BentoBox] [Challenges] Could not remove 64 of ARROW from player's inventory!
Found for the player that had complained: https://prnt.sc/mwr2me
Hmm, weird that it still proceed with completing a challenge. I will check and fix it asap.
Sorry that it took so long time.
I fixed this issue, but currently it will not return removed items. I still need to work on it.
Implemented in PR #109
Description
Challenge of ours that requires a minimum of 256x Arrow (Inventory Type) to be completed can be bypassed with any amount between x64 - x256, therefore if the player posseses only a stack of arrows, he can complete it while the required items are taken away from his inventory.
It seems that this problem is only related to arrows, or at least they are the only items that we are aware of at the moment. We tried it for some blocks, but it seemed not to be bugging.
Steps to reproduce the behavior:
Server / BentoBox information:
Server information:
BBox version output:
Plugins:
[06:32:17 INFO]: Plugins (50): AnimatedNames*, AreaShop, ArmorStandTools, BentoBox, BungeeTabListPlus*, ChatControl, ChestCommands, ChestShop*, ClearLag*, CrateReloaded, EditableSign, Essentials, EssentialsChat*, EssentialsSpawn*, ExecuteEverywhere*, FastAsyncWorldEdit*, FeatherBoard*, HeadDatabase*, HolographicDisplays, HungerKeeperPlus*, IPWhitelist*, IslandBorder, LeaderHeads*, LibsDisguises, LuckPerms, MobManager*, Multiverse-Core*, MVdWPlaceholderAPI*, NickRemover*, NoSleepCMDs*, OpenInv*, PlayerHeads, PlayerPoints*, ProtocolLib*, PvPManager*, PvPManagerBossBar*, RedstoneClockDetector*, RPGHealthIndicator*, SilkSpawners, SkinsRestorer, Spartan, TradeMe, TrophyHeads*, UnbreakingAnvils*, Vault*, VoidGenerator, WorldEdit, WorldGuard, WorldGuardPistonFix*, Yamler*
Expected behavior / Additional context