mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Remove murky wings forced slowfall
This commit is contained in:
parent
16824452b0
commit
bdd56b6062
@ -1,6 +1,7 @@
|
|||||||
package com.hbm.items.armor;
|
package com.hbm.items.armor;
|
||||||
|
|
||||||
import com.hbm.extprop.HbmPlayerProps;
|
import com.hbm.extprop.HbmPlayerProps;
|
||||||
|
import com.hbm.handler.ArmorModHandler;
|
||||||
import com.hbm.items.ModItems;
|
import com.hbm.items.ModItems;
|
||||||
import com.hbm.main.ResourceManager;
|
import com.hbm.main.ResourceManager;
|
||||||
import com.hbm.render.model.ModelArmorWings;
|
import com.hbm.render.model.ModelArmorWings;
|
||||||
@ -51,13 +52,12 @@ public class WingsMurk extends JetpackBase {
|
|||||||
if(player.fallDistance > 0)
|
if(player.fallDistance > 0)
|
||||||
player.fallDistance = 0;
|
player.fallDistance = 0;
|
||||||
|
|
||||||
if(player.motionY < -0.4D)
|
|
||||||
player.motionY = -0.4D;
|
|
||||||
|
|
||||||
if(this == ModItems.wings_limp) {
|
if(this == ModItems.wings_limp) {
|
||||||
|
|
||||||
if(player.isSneaking()) {
|
if(player.motionY < -0.4D)
|
||||||
|
player.motionY = -0.4D;
|
||||||
|
|
||||||
|
if(player.isSneaking()) {
|
||||||
if(player.motionY < -0.08) {
|
if(player.motionY < -0.08) {
|
||||||
|
|
||||||
double mo = player.motionY * -0.2;
|
double mo = player.motionY * -0.2;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user