mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-23 14:11:16 -09:00
Update mobnpcspawner.js
This commit is contained in:
parent
707d3a1f14
commit
0224803460
@ -34,7 +34,7 @@
|
||||
});
|
||||
|
||||
// Add the sheep to the world
|
||||
world.addEntityToWorld(sheep.getEntityId(), sheep);
|
||||
world.spawnEntityInWorld(sheep.getEntityId(), sheep);
|
||||
|
||||
// Notify the player that the sheep has been spawned
|
||||
const ChatComponentTextClass = ModAPI.reflect.getClassById("net.minecraft.util.ChatComponentText");
|
||||
|
Loading…
x
Reference in New Issue
Block a user