mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 17:29:44 +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){
|
||||
$entry->setReason(trim(array_shift($str)));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $entry;
|
||||
}else{
|
||||
return $entry;
|
||||
}
|
||||
}
|
||||
}else{
|
||||
return $entry;
|
||||
}
|
||||
}else{
|
||||
return $entry;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user