dedimania code improvement
This commit is contained in:
parent
2f7db3cafd
commit
04883a4dc6
@ -648,10 +648,7 @@ 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;
|
||||
return $this->webHandler->getDedimaniaData()->records;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user