survanetwork / HotBlock

🔲 A funny PvP Minigame
https://plugins.surva.net/#hotblock
MIT License
23 stars 15 forks source link

Bug With Plugin Slapper #35

Closed thinh2118 closed 3 years ago

thinh2118 commented 4 years ago

When use /slapper remove, plugin HotBlock will have bug Call to a member function getBlock() on null" (EXCEPTION) in "plugins/HotBlock_v1.1.3/src/surva/hotblock/EventListener" at line 29

jarne commented 4 years ago

There's a player entity check missing in the plugin's code at https://github.com/survanetwork/HotBlock/blob/master/src/surva/hotblock/EventListener.php#L32, I'll fix this soon.