Update mobnpcspawner.js

This commit is contained in:
radmanplays 2024-09-29 16:27:27 +03:30 committed by GitHub
parent 0ca46f67af
commit a8412c54b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,7 +34,7 @@
});
// Add the sheep to the world
world.spawnEntityInWorld(sheep.getEntityId(), sheep);
world.spawnEntityInWorld(sheep);
// Notify the player that the sheep has been spawned
const ChatComponentTextClass = ModAPI.reflect.getClassById("net.minecraft.util.ChatComponentText");