summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java
index eff30aba..191212c5 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;
}