dedimania code improvement
This commit is contained in:
parent
2f7db3cafd
commit
04883a4dc6
@ -648,11 +648,8 @@ class DedimaniaPlugin implements CallbackListener, CommandListener, TimerListene
|
||||
* @return RecordData[]
|
||||
*/
|
||||
public function getDedimaniaRecords() {
|
||||
if ($this->webHandler->getDedimaniaData() && $this->webHandler->getDedimaniaData()->records) {
|
||||
return $this->webHandler->getDedimaniaData()->records;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see \ManiaControl\Plugins\Plugin::unload()
|
||||
|
Loading…
Reference in New Issue
Block a user