mirror of
https://github.com/GTNewHorizons/Tainted-Magic.git
synced 2026-11-18 11:19:24 +00:00
Update Flyte Charm
This commit is contained in:
1 parent
9c358ead36
commit
3e2aa34aaa
1 file changed
-7
@@ -28,7 +28,6 @@ public class ItemFlyteCharm extends Item implements IWarpingGear, IRenderInvento
|
||||
{
|
||||
// Vis used per tick while flying / boosting / gliding
|
||||
private static final AspectList COST_FLIGHT = new AspectList().add(Aspect.AIR, 15);
|
||||
private static final AspectList COST_BOOST = new AspectList().add(Aspect.AIR, 5).add(Aspect.FIRE, 10);
|
||||
private static final AspectList COST_GLIDE = new AspectList().add(Aspect.AIR, 5);
|
||||
|
||||
// Magic circle texture
|
||||
@@ -82,12 +81,6 @@ public class ItemFlyteCharm extends Item implements IWarpingGear, IRenderInvento
|
||||
player.motionZ += Math.sin(Math.toRadians(player.rotationYawHead + 90)) * speed;
|
||||
}
|
||||
}
|
||||
// Speed boost
|
||||
if (player.moveForward > 0.0F)
|
||||
{
|
||||
float mul = 0.02F;
|
||||
player.moveFlying(0.0F, 1.0F, mul);
|
||||
}
|
||||
}
|
||||
else if (!player.capabilities.isCreativeMode)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user