mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 21:19:00 +01:00
SPIGOT-508: Set noclip flag when changing armor stand gravity
This commit is contained in:
parent
a956d73f10
commit
bbf72f3060
@ -1,5 +1,5 @@
|
|||||||
--- ../work/decompile-8eb82bde//net/minecraft/server/EntityArmorStand.java 2014-11-29 16:03:15.597435308 +0000
|
--- ../work/decompile-8eb82bde/net/minecraft/server/EntityArmorStand.java 2015-02-01 18:12:22.718390345 +1100
|
||||||
+++ src/main/java/net/minecraft/server/EntityArmorStand.java 2014-11-29 16:02:17.625436595 +0000
|
+++ src/main/java/net/minecraft/server/EntityArmorStand.java 2015-02-01 18:12:22.718390345 +1100
|
||||||
@@ -343,6 +343,11 @@
|
@@ -343,6 +343,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -12,3 +12,12 @@
|
|||||||
if (!this.world.isStatic && !this.h) {
|
if (!this.world.isStatic && !this.h) {
|
||||||
if (DamageSource.OUT_OF_WORLD.equals(damagesource)) {
|
if (DamageSource.OUT_OF_WORLD.equals(damagesource)) {
|
||||||
this.die();
|
this.die();
|
||||||
|
@@ -542,6 +547,8 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
this.datawatcher.watch(10, Byte.valueOf(b0));
|
||||||
|
+
|
||||||
|
+ this.T = flag; // CraftBukkit. // PAIL: Rename (noclip)
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean hasGravity() {
|
||||||
|
Loading…
Reference in New Issue
Block a user