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:
WayofTime 2020-10-25 14:19:05 -04:00
parent 4ac0f31124
commit 2a8143844a
3 changed files with 259 additions and 1 deletions

View file

@ -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);