104105106107108109110111112113114
if (cart.posZ < thePlayer.posZ) cart.motionZ -= SMACK_VELOCITY; else cart.motionZ += SMACK_VELOCITY; } crowbar.onBoost(thePlayer, stack, cart); } } } if (used) event.setCanceled(true);