mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 07:48:53 +01:00
parent
db6d9b0522
commit
24d5672770
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
From 760436fa248f9b01dc2e29c950cab68d49ceffb7 Mon Sep 17 00:00:00 2001
|
||||
From f3634dbe784005f4a9ceef59cf1b6471979e9ecf Mon Sep 17 00:00:00 2001
|
||||
From: kashike <kashike@vq.lc>
|
||||
Date: Wed, 15 Aug 2018 01:26:09 -0700
|
||||
Subject: [PATCH] Allow disabling armour stand ticking
|
||||
|
@ -20,7 +20,7 @@ index a2656abaf..95fc2d8ed 100644
|
|||
+ }
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityArmorStand.java b/src/main/java/net/minecraft/server/EntityArmorStand.java
|
||||
index 7647311df..d8939420c 100644
|
||||
index 7647311df..d2b208888 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityArmorStand.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityArmorStand.java
|
||||
@@ -45,6 +45,11 @@ public class EntityArmorStand extends EntityLiving {
|
||||
|
@ -58,7 +58,7 @@ index 7647311df..d8939420c 100644
|
|||
+ // Paper start
|
||||
+ if (!this.canTick) {
|
||||
+ if (this.noTickPoseDirty) {
|
||||
+ this.noTickEquipmentDirty = false;
|
||||
+ this.noTickPoseDirty = false;
|
||||
+ this.updatePose();
|
||||
+ }
|
||||
+
|
||||
|
|
Loading…
Reference in a new issue