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