DragonByte Tech
Well-known member
- Affected version
- 2.1.0 RC2
str_replace($addOnId, '/', $ds) -> str_replace('/', $ds, $addOnId)Otherwise, you're replacing the entire addon ID with just a
/ and $entityDir = "{$baseDir}{$ds}Entity"; becomes /src/addons///Entity.