Crushing Ritual fix
Fixed a crash on servers for the Crushing Ritual. Also added the Ritual of the Feathered Knife.
This commit is contained in:
parent
4ac0f31124
commit
2a8143844a
3 changed files with 259 additions and 1 deletions
|
@ -149,7 +149,7 @@ public class Utils
|
|||
double posZ = spawnPos.getZ() + 0.5;
|
||||
|
||||
ItemEntity entityItem = new ItemEntity(world, posX, posY, posZ, stack);
|
||||
entityItem.setVelocity(velX, velY, velZ);
|
||||
entityItem.setMotion(velX, velY, velZ);
|
||||
|
||||
entityItem.setItem(stack);
|
||||
return world.addEntity(entityItem);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue