Landmine shouldn't use clientside functions on serverside #1405

This commit is contained in:
Bernhard Bonigl committed 2015-02-21 20:10:45 +01:00
1 parent 71cdfffa68
commit 83cc6b9824
1 file changed
+3 -1
@@ -66,7 +66,9 @@ public class BehaviorBlockThrow extends Behavior
EntityFallingBlock entityfallingsand = new EntityFallingBlock(par1World, (double) ((float) par2 + 0.5F), (double) ((float) par3 + 2F), (double) ((float) par4 + 0.5F), BlockUtils.getBlockFromItemStack(par5ItemStack), par5ItemStack.getItemDamage());
entityfallingsand.preventEntitySpawning = false;
entityfallingsand.ticksExisted = 2;
entityfallingsand.setVelocity(vec0, vec1, vec2);
entityfallingsand.motionX = vec0;
entityfallingsand.motionY = vec1;
entityfallingsand.motionZ = vec2;
par1World.spawnEntityInWorld(entityfallingsand);
}
}