prevent errors with non-objects
This commit is contained in:
parent
d079c0a2cc
commit
fcad92c910
@ -603,7 +603,7 @@ class DedimaniaPlugin implements CallbackListener, CommandListener, TimerListene
|
|||||||
* @param Player $player
|
* @param Player $player
|
||||||
*/
|
*/
|
||||||
public function handlePlayerConnect(Player $player) {
|
public function handlePlayerConnect(Player $player) {
|
||||||
if (!isset($this->dedimaniaData)) {
|
if (!$this->dedimaniaData) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user