Skip to content

Commit

Permalink
Landmine shouldn't use clientside functions on serverside #1405
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Feb 21, 2015
1 parent 71cdfff commit 83cc6b9
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -66,7 +66,9 @@ public void executeLogic (World par1World, int par2, int par3, int par4, ItemSta
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);
}
}
Expand Down

0 comments on commit 83cc6b9

Please sign in to comment.