Fixed staves and orbs particles
-Also fixed air stuff SMP crash
This commit is contained in:
parent
c38060919f
commit
06f1cbcce9
10 changed files with 66 additions and 97 deletions
|
|
@ -87,9 +87,8 @@ public class ItemStaffWater extends ItemStaff {
|
|||
|
||||
@Override
|
||||
public void onUpdate(ItemStack itemStack, World world, Entity entity, int par4, boolean par5) {
|
||||
EntityPlayer player = (EntityPlayer) entity;
|
||||
if (!world.isRemote && par5) {
|
||||
MysticWorld.proxy.waterFX(world, (player.posX - 0.5D) + rand.nextDouble(), player.posY, (player.posZ - 0.5D) + rand.nextDouble(), 1.0F);
|
||||
if (par5) {
|
||||
MysticWorld.proxy.waterFX(world, (entity.posX - 0.5D) + rand.nextDouble(), entity.posY, (entity.posZ - 0.5D) + rand.nextDouble(), 1.0F);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue