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
0224803460
commit
6ee7f22b97
@ -14,7 +14,7 @@
|
||||
const sheep = EntitySheepClass.constructors[1](world.getRef());
|
||||
|
||||
// Set sheep's position to player's position
|
||||
sheep.setPosition(senderPos.$getX(), senderPos.$getY(), senderPos.$getZ());
|
||||
sheep.setPosition(senderPos.getX(), senderPos.getY(), senderPos.getZ());
|
||||
|
||||
// Disable AI (no AI behavior)
|
||||
sheep.getDataWatcher().updateObject(15, 1); // AI flag, 15 is the byte for AI, 1 means no AI
|
||||
|
Loading…
x
Reference in New Issue
Block a user