summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/block/CraftEndGateway.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftEndGateway.java b/src/main/java/org/bukkit/craftbukkit/block/CraftEndGateway.java
index 8ca614bd..5fbc336b 100644
--- a/src/main/java/org/bukkit/craftbukkit/block/CraftEndGateway.java
+++ b/src/main/java/org/bukkit/craftbukkit/block/CraftEndGateway.java
@@ -46,6 +46,16 @@ public class CraftEndGateway extends CraftBlockEntityState<TileEntityEndGateway>
}
@Override
+ public long getAge() {
+ return this.getSnapshot().e;
+ }
+
+ @Override
+ public void setAge(long age) {
+ this.getSnapshot().e = age;
+ }
+
+ @Override
public void applyTo(TileEntityEndGateway endGateway) {
super.applyTo(endGateway);