mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-25 06:24:37 +00:00
Landmine shouldn't use clientside functions on serverside #1405
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user