summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorProtected <myshelter@gmail.com>2011-02-14 17:36:25 +0000
committerEvilSeph <evilseph@unaligned.org>2011-02-18 17:35:59 -0500
commite97889e80a8157e7d2b95e869cbd97cf63a52086 (patch)
tree6a41e35e3dd552834cca376c1f2906c18e81d42b /src/main/java
parent7b6713b9189c991fa88128451ef2144f749f5819 (diff)
downloadcraftbukkit-e97889e80a8157e7d2b95e869cbd97cf63a52086.tar
craftbukkit-e97889e80a8157e7d2b95e869cbd97cf63a52086.tar.gz
craftbukkit-e97889e80a8157e7d2b95e869cbd97cf63a52086.tar.lz
craftbukkit-e97889e80a8157e7d2b95e869cbd97cf63a52086.tar.xz
craftbukkit-e97889e80a8157e7d2b95e869cbd97cf63a52086.zip
Added setFireTicks(), getFireTicks() and getMaxFireTicks().
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;
}