From e97889e80a8157e7d2b95e869cbd97cf63a52086 Mon Sep 17 00:00:00 2001 From: Protected Date: Mon, 14 Feb 2011 17:36:25 +0000 Subject: [PATCH] Added setFireTicks(), getFireTicks() and getMaxFireTicks(). --- .../org/bukkit/craftbukkit/entity/CraftEntity.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java index eff30aba04..191212c589 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java @@ -118,6 +118,18 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity { return entity.id; } + public int getFireTicks() { + return entity.fireTicks; + } + + public int getMaxFireTicks() { + return entity.maxFireTicks; + } + + public void setFireTicks(int ticks) { + entity.fireTicks = ticks; + } + public Entity getHandle() { return entity; }