GamakCZ / RedstoneX

Experimental Redstone plugin for PocketMine
Apache License 2.0
7 stars 4 forks source link

Bug #3

Open shdudwns opened 6 years ago

shdudwns commented 6 years ago

[19:10:47] [Server thread/DEBUG]: #2 src/pocketmine/level/Level(1785): pocketmine\block\Block->getDrops(pocketmine\item\ItemBlock object) [19:10:47] [Server thread/DEBUG]: #3 plugins/RedstoneX/src/redstonex/block/RedstoneTorch(76): pocketmine\level\Level->useBreakOn(redstonex\block\RedstoneTorch object) [19:10:47] [Server thread/DEBUG]: #4 src/pocketmine/level/Level(742): redstonex\block\RedstoneTorch->onUpdate(integer 1) [19:10:47] [Server thread/DEBUG]: #5 src/pocketmine/Server(2377): pocketmine\level\Level->doTick(integer 832) [19:10:47] [Server thread/DEBUG]: #6 src/pocketmine/Server(2534): pocketmine\Server->checkTickUpdates(integer 832, double 1514023847.8742) [19:10:47] [Server thread/DEBUG]: #7 src/pocketmine/Server(2274): pocketmine\Server->tick() [19:10:47] [Server thread/DEBUG]: #8 src/pocketmine/Server(2149): pocketmine\Server->tickProcessor() [19:10:47] [Server thread/DEBUG]: #9 src/pocketmine/Server(1737): pocketmine\Server->start() [19:10:47] [Server thread/DEBUG]: #10 src/pocketmine/PocketMine(554): pocketmine\Server->construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /root/pm/, string /root/pm/plugins/) [19:11:07] [Server thread/CRITICAL]: Could not tick level "world": Undefined class constant 'TYPE_NONE' [19:11:07] [Server thread/CRITICAL]: Error: "Undefined class constant 'TYPE_NONE'" (EXCEPTION) in "plugins/RedstoneX/src/redstonex/block/RedstoneTorch" at line 48 [19:11:07] [Server thread/DEBUG]: #0 src/pocketmine/block/Block(236): redstonex\block\RedstoneTorch->getToolType() [19:11:07] [Server thread/DEBUG]: #1 src/pocketmine/block/Block(435): pocketmine\block\Block->isCompatibleWithTool(pocketmine\item\ItemBlock object) [19:11:07] [Server thread/DEBUG]: #2 src/pocketmine/level/Level(1785): pocketmine\block\Block->getDrops(pocketmine\item\ItemBlock object) [19:11:07] [Server thread/DEBUG]: #3 plugins/RedstoneX/src/redstonex/block/RedstoneTorch(76): pocketmine\level\Level->useBreakOn(redstonex\block\RedstoneTorch object) [19:11:07] [Server thread/DEBUG]: #4 src/pocketmine/level/Level(742): redstonex\block\RedstoneTorch->onUpdate(integer 1) [19:11:07] [Server thread/DEBUG]: #5 src/pocketmine/Server(2377): pocketmine\level\Level->doTick(integer 1222) [19:11:07] [Server thread/DEBUG]: #6 src/pocketmine/Server(2534): pocketmine\Server->checkTickUpdates(integer 1222, double 1514023867.3742) [19:11:07] [Server thread/DEBUG]: #7 src/pocketmine/Server(2274): pocketmine\Server->tick() [19:11:07] [Server thread/DEBUG]: #8 src/pocketmine/Server(2149): pocketmine\Server->tickProcessor() [19:11:07] [Server thread/DEBUG]: #9 src/pocketmine/Server(1737): pocketmine\Server->start() [19:11:07] [Server thread/DEBUG]: #10 src/pocketmine/PocketMine(554): pocketmine\Server->construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /root/pm/, string /root/pm/plugins/)

shdudwns commented 6 years ago

@GamakCZ fix please -_-

shdudwns commented 6 years ago

@GamakCZ hey