summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/EntityMinecart.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityMinecart.java')
-rw-r--r--src/main/java/net/minecraft/server/EntityMinecart.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/EntityMinecart.java b/src/main/java/net/minecraft/server/EntityMinecart.java
index b8a3ed1d..4e11ab71 100644
--- a/src/main/java/net/minecraft/server/EntityMinecart.java
+++ b/src/main/java/net/minecraft/server/EntityMinecart.java
@@ -113,6 +113,12 @@ public class EntityMinecart extends Entity
// CraftBukkit end
}
+ // CraftBukkit start
+ public ItemStack[] getContents() {
+ return this.ak;
+ }
+ // CraftBukkit end
+
public AxisAlignedBB d(Entity entity) {
return entity.z;
}