Update to MC 1.12-pre2
This commit is contained in:
@@ -7,7 +7,7 @@ Instead of calculating the damage taken from hitting a wall, you can
|
||||
disable it in the config.
|
||||
|
||||
diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
||||
index 04861f146..dc96bd7f4 100644
|
||||
index ef60c15bd..cec9ea74c 100644
|
||||
--- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
||||
+++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
||||
@@ -0,0 +0,0 @@ public class PaperWorldConfig {
|
||||
@@ -21,19 +21,19 @@ index 04861f146..dc96bd7f4 100644
|
||||
+ }
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityLiving.java b/src/main/java/net/minecraft/server/EntityLiving.java
|
||||
index ec901150d..b8ac99e5d 100644
|
||||
index 9587704d7..97b498507 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityLiving.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityLiving.java
|
||||
@@ -0,0 +0,0 @@ public abstract class EntityLiving extends Entity {
|
||||
this.motY = 0.30000001192092896D;
|
||||
}
|
||||
} else if (this.cH()) {
|
||||
} else if (this.cN()) {
|
||||
+ if (world.paperConfig.elytraHitWallDamage) { // Paper start - Toggleable Elytra Wall Damage
|
||||
if (this.motY > -0.5D) {
|
||||
this.fallDistance = 1.0F;
|
||||
}
|
||||
@@ -0,0 +0,0 @@ public abstract class EntityLiving extends Entity {
|
||||
this.damageEntity(DamageSource.FLY_INTO_WALL, f7);
|
||||
this.damageEntity(DamageSource.FLY_INTO_WALL, f8);
|
||||
}
|
||||
}
|
||||
+ } // Paper end - Elyta Wall Damage if statement
|
||||
|
||||
Reference in New Issue
Block a user