geforkt von Mirrors/Paper
Implemented Sneak event
By: Alexander Hesse <webmasterœaquanasoft.de>
Dieser Commit ist enthalten in:
Ursprung
beb34ae835
Commit
f3a00a79b4
@ -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();
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren