blob: 90ca9cc9684bb37e748529022f1b6d1319b1a4e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- ../work/decompile-8eb82bde//net/minecraft/server/EntityVillager.java 2014-11-28 11:22:55.994823162 +0000
+++ src/main/java/net/minecraft/server/EntityVillager.java 2014-11-28 11:01:54.000000000 +0000
@@ -1,6 +1,7 @@
package net.minecraft.server;
import java.util.Iterator;
+import org.bukkit.craftbukkit.entity.CraftVillager;
public class EntityVillager extends EntityAgeable implements NPC, IMerchant {
@@ -28,7 +29,7 @@
public EntityVillager(World world, int i) {
super(world);
- this.inventory = new InventorySubcontainer("Items", false, 8);
+ this.inventory = new InventorySubcontainer("Items", false, 8, (CraftVillager) this.getBukkitEntity()); // CraftBukkit add argument
this.setProfession(i);
this.a(0.6F, 1.8F);
((Navigation) this.getNavigation()).b(true);
|