Fix rangeStart condition in templateCheck function
This commit is contained in:
@@ -27,14 +27,16 @@ export function templateCheck(db:Database){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(c.type === 'chat'){
|
else if(c.type === 'chat'){
|
||||||
if(c.rangeStart !== 0){
|
if(c.rangeStart !== -1000){
|
||||||
startRanges.push(c.rangeStart)
|
if(c.rangeStart !== 0){
|
||||||
}
|
startRanges.push(c.rangeStart)
|
||||||
if(c.rangeEnd !== 'end'){
|
}
|
||||||
endRanges.push(c.rangeEnd)
|
if(c.rangeEnd !== 'end'){
|
||||||
}
|
endRanges.push(c.rangeEnd)
|
||||||
else{
|
}
|
||||||
reachEnd = true
|
else{
|
||||||
|
reachEnd = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(c.type === 'description'){
|
else if(c.type === 'description'){
|
||||||
|
|||||||
Reference in New Issue
Block a user