thanks for being useless PhpStorm

these problems didn't show up in any inspections until I opened the fucking files...
This commit is contained in:
Dylan K. Taylor
2019-03-17 15:53:59 +00:00
parent 87928038e6
commit 6f54b53f7a
3 changed files with 4 additions and 4 deletions

View File

@ -715,7 +715,7 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
}
public function saveNBT() : CompoundTag{
$nbt = new CompoundTag();
$nbt = new CompoundTag("");
if(!($this instanceof Player)){
$nbt->setString("id", EntityFactory::getSaveId(get_class($this)));