13
0
geforkt von Mirrors/Paper

Implemented Sneak event

By: Alexander Hesse <webmasterœaquanasoft.de>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2011-01-25 19:08:54 +01:00
Ursprung beb34ae835
Commit f3a00a79b4

Datei anzeigen

@ -150,4 +150,12 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
entity.a.a(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch());
}
}
public void setSneaking(boolean sneak) {
entity.b(sneak);
}
public boolean isSneaking() {
return entity.J();
}
}