mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Implement player speed API. Addresses BUKKIT-2205
This commit is contained in:
1 parent
77cda7e715
commit
342f9c3bd3
2 files changed
+37
-2
No files matched your search
@@ -7,8 +7,8 @@ public class PlayerAbilities {
|
||||
public boolean canFly = false;
|
||||
public boolean canInstantlyBuild = false;
|
||||
public boolean mayBuild = true;
|
||||
private float flySpeed = 0.05F;
|
||||
private float walkSpeed = 0.1F;
|
||||
public float flySpeed = 0.05F; // CraftBukkit private -> public
|
||||
public float walkSpeed = 0.1F; // CraftBukkit private -> public
|
||||
|
||||
public PlayerAbilities() {}
|
||||
|
||||
|
||||
Reference in new issue
Block a user