[Bleeding] Added way to get/set if Iron Golem was player created. Addresses BUKKIT-1229
Dieser Commit ist enthalten in:
Ursprung
68b98d4c8f
Commit
ea60181a87
@ -20,6 +20,14 @@ public class CraftIronGolem extends CraftGolem implements IronGolem {
|
||||
return "CraftIronGolem";
|
||||
}
|
||||
|
||||
public boolean isPlayerCreated() {
|
||||
return getHandle().n_();
|
||||
}
|
||||
|
||||
public void setPlayerCreated(boolean playerCreated) {
|
||||
getHandle().b(playerCreated);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EntityType getType() {
|
||||
return EntityType.IRON_GOLEM;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren