Aercloud checking added
This commit is contained in:
parent
7408611b13
commit
115aa9aaf4
|
@ -20,7 +20,6 @@ import net.minecraft.server.management.PlayerList;
|
|||
import net.minecraft.util.DamageSource;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.util.math.MathHelper;
|
||||
import net.minecraft.world.WorldServer;
|
||||
import net.minecraftforge.fml.common.FMLCommonHandler;
|
||||
import net.minecraftforge.fml.relauncher.ReflectionHelper;
|
||||
|
||||
|
@ -145,6 +144,11 @@ public class PlayerAether
|
|||
|
||||
this.setJumping(hasJumped);
|
||||
|
||||
if (this.isInBlock(BlocksAether.aercloud))
|
||||
{
|
||||
this.thePlayer.fallDistance = 0.0F;
|
||||
}
|
||||
|
||||
if (this.getCooldown() > 0)
|
||||
{
|
||||
this.setCooldown(this.getCooldown() - 1);
|
||||
|
|
Loading…
Reference in a new issue