mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-14 01:39:52 +00:00
Cleaned up BanEntry creation
This commit is contained in:
parent
4039895d3c
commit
f9762c870a
@ -119,18 +119,12 @@ class BanEntry{
|
|||||||
}
|
}
|
||||||
if(count($str) > 0){
|
if(count($str) > 0){
|
||||||
$entry->setReason(trim(array_shift($str)));
|
$entry->setReason(trim(array_shift($str)));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return $entry;
|
return $entry;
|
||||||
}else{
|
|
||||||
return $entry;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}else{
|
|
||||||
return $entry;
|
|
||||||
}
|
|
||||||
}else{
|
|
||||||
return $entry;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user