Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
Cannot detect _ADVANCE_
  • Loading branch information
cth-inni committed Nov 6, 2021
1 parent c055398 commit 19e96c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ChatBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ private function _buildLinesFeed($rawData) {
$linesArray = array_values(array_filter(explode(PHP_EOL,$rawData))); // string to array
foreach($linesArray as $lineKey => $lineVal)
{
if($lineVal != $this->SettingBreakPoint)
if(trim($lineVal) != $this->SettingBreakPoint)
{
$tempLine = [];
$tempLine['_type'] = null;
Expand Down Expand Up @@ -441,7 +441,7 @@ public function render(){
// }
foreach($this->dialogue['lines'] as $dialogue)
{
if($dialogue['_line'] != $this->SettingBreakPoint)
if(trim($dialogue['_line']) != $this->SettingBreakPoint)
{
switch($dialogue['_castname'])
{
Expand Down

0 comments on commit 19e96c2

Please sign in to comment.