Update mobnpcspawner.js

This commit is contained in:
radmanplays 2024-09-29 16:25:30 +03:30 committed by GitHub
parent 6ee7f22b97
commit bbba5feead
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,7 +20,7 @@
sheep.getDataWatcher().updateObject(15, 1); // AI flag, 15 is the byte for AI, 1 means no AI
// Disable gravity
sheep.noGravity = true;
sheep.noGravity = 1;
// Make sheep invincible
sheep.setEntityInvulnerable(true);