Added setFireTicks(), getFireTicks() and getMaxFireTicks().

By: Protected <myshelter@gmail.com>
This commit is contained in:
CraftBukkit/Spigot 2011-02-14 17:36:25 +00:00
parent 85d6ef5bd8
commit 1b81a00661

View file

@ -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;
}