Archiviert
13
0

[Bleeding] Added way to get/set if Iron Golem was player created. Addresses BUKKIT-1229

Dieser Commit ist enthalten in:
aPunch 2012-03-08 20:20:15 -06:00 committet von EvilSeph
Ursprung 68b98d4c8f
Commit ea60181a87

Datei anzeigen

@ -20,6 +20,14 @@ public class CraftIronGolem extends CraftGolem implements IronGolem {
return "CraftIronGolem"; return "CraftIronGolem";
} }
public boolean isPlayerCreated() {
return getHandle().n_();
}
public void setPlayerCreated(boolean playerCreated) {
getHandle().b(playerCreated);
}
@Override @Override
public EntityType getType() { public EntityType getType() {
return EntityType.IRON_GOLEM; return EntityType.IRON_GOLEM;