tebexio / BuycraftPM

MIT License
23 stars 25 forks source link

Touching Green Block Crash #49

Closed goosebumps98 closed 1 year ago

goosebumps98 commented 4 years ago

THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: Tebex-PMMP v2.1.0

Code: [102] public function __construct($inventoryUtils, $p, $nbt) [103] { [104] $this->inventoryUtils = $inventoryUtils; [105] $this->p = $p; [106] $this->nbt = $nbt; [107] } [108] [109] function onRun(int $currentTick) [110] { [111] $this->inventoryUtils->showPackageGui($this->p, $this->nbt->getInt("categoryId")); [112] } [113] [114] }, 10); [115] [116] return true; [117] } [118] [119] private [120] function handlePackageInventoryClick(InventoryTransactionEvent $event, SlotChangeAction $action) [121] {

Backtrace:

0 src/pocketmine/scheduler/TaskHandler(134): class@anonymousphar:///root/server/plugins/TebexPMMP.phar/src/Buycraft/PocketMine/BuycraftListener.php0x7f42b8748ead->onRun(integer 13855)

1 src/pocketmine/scheduler/TaskScheduler(176): pocketmine\scheduler\TaskHandler->run(integer 13855)

2 src/pocketmine/plugin/PluginManager(643): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 13855)

3 src/pocketmine/Server(2380): pocketmine\plugin\PluginManager->tickSchedulers(integer 13855)

4 src/pocketmine/Server(2143): pocketmine\Server->tick()

5 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor()

6 src/pocketmine/Server(1584): pocketmine\Server->start()

7 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[13] /root/server/, string[21] /root/server/plugins/)

8 src/pocketmine/PocketMine(296): pocketmine\server()

9 (11): require(string[68] phar:///root/server/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

heychazza commented 1 year ago

Hi there,

Thanks for taking the time to report this issue, I'm sorry it's been slow to get resolved — we're working on it!

Unfortunately, this issue is old enough that we've had to close it. But if you see any other issues (especially ones with the same or similar symptoms), please reply here and I'll look into getting them fixed.

We are currently planning a recode of the Buycraft plugin at some point in Q2 of this year, and we would love to know what issues still exist so they can be fixed for the new plugin.

Apologies for the issues you have faced!