13
0
geforkt von Mirrors/Paper

Implementation of interface to modify the pumpkin head "derp mode" of a snowman

By: minoneer <minoneer@gmail.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2016-05-18 00:42:14 +02:00
Ursprung 07c0e6067b
Commit e5cc347b6e

Datei anzeigen

@ -10,6 +10,16 @@ public class CraftSnowman extends CraftGolem implements Snowman {
super(server, entity);
}
@Override
public boolean isDerp() {
return getHandle().o(); // PAIL: Rename
}
@Override
public void setDerp(boolean derpMode) {
getHandle().a(derpMode); // PAIL: Rename
}
@Override
public EntitySnowman getHandle() {
return (EntitySnowman) entity;