From 6b5d4f709a19ad721981628004c31865c744888c Mon Sep 17 00:00:00 2001 From: ata4 Date: Wed, 21 Oct 2015 16:38:38 +0200 Subject: [PATCH] Fixed wrong tick clamping --- .../minecraft/dragon/server/entity/helper/DragonLifeStage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/info/ata4/minecraft/dragon/server/entity/helper/DragonLifeStage.java b/src/main/java/info/ata4/minecraft/dragon/server/entity/helper/DragonLifeStage.java index bed15e05..1c70817d 100644 --- a/src/main/java/info/ata4/minecraft/dragon/server/entity/helper/DragonLifeStage.java +++ b/src/main/java/info/ata4/minecraft/dragon/server/entity/helper/DragonLifeStage.java @@ -78,7 +78,7 @@ public static int clipTickCountToValid(int ticksSinceCreation) { return MathHelper.clamp_int( ticksSinceCreation, EGG.startTicks, - ADULT.durationTicks + ADULT.startTicks ); } }