Open inxomnyaa opened 4 years ago
https://github.com/ArchonKlaus/Snow/blob/4967fb6c9e87d69c38814607179dd8d3df994aba/src/varion/Snow/Snow.php#L35 To be sure this will work in future updates where the id might change, this should be https://github.com/pmmp/PocketMine-MP/blob/cf538afb84788358e7c7f47a5d174462a802f4b4/src/pocketmine/network/mcpe/protocol/LevelEventPacket.php#L88 LevelEventPacket::EVENT_START_RAIN Good luck with the plugin!
LevelEventPacket::EVENT_START_RAIN
https://github.com/ArchonKlaus/Snow/blob/4967fb6c9e87d69c38814607179dd8d3df994aba/src/varion/Snow/Snow.php#L35 To be sure this will work in future updates where the id might change, this should be https://github.com/pmmp/PocketMine-MP/blob/cf538afb84788358e7c7f47a5d174462a802f4b4/src/pocketmine/network/mcpe/protocol/LevelEventPacket.php#L88
LevelEventPacket::EVENT_START_RAIN
Good luck with the plugin!