From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: BillyGalbreath Date: Sun, 23 Sep 2018 20:59:53 -0500 Subject: [PATCH] Honor EntityAgeable.ageLock diff --git a/src/main/java/net/minecraft/world/entity/AgableMob.java b/src/main/java/net/minecraft/world/entity/AgableMob.java index d7c19e5607bcf92c874b3656c2742f4c84dceb12..354311dc541588212a2eacba38e60c7e34aa4c2b 100644 --- a/src/main/java/net/minecraft/world/entity/AgableMob.java +++ b/src/main/java/net/minecraft/world/entity/AgableMob.java @@ -82,6 +82,7 @@ public abstract class AgableMob extends PathfinderMob { } public void ageUp(int age, boolean overGrow) { + if (ageLocked) return; // Paper - GH-1459 int j = this.getAge(); int k = j;