mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-24 03:25:13 +01:00
Fix
This commit is contained in:
parent
7aa56a5ffb
commit
042a0b5ba6
@ -156,7 +156,7 @@ public class Controllable extends Trait implements Toggleable {
|
|||||||
@Override
|
@Override
|
||||||
public void run(Player rider) {
|
public void run(Player rider) {
|
||||||
if (paused) {
|
if (paused) {
|
||||||
getHandle().motY = 0;
|
getHandle().motY = 0.001;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Vector dir = rider.getEyeLocation().getDirection();
|
Vector dir = rider.getEyeLocation().getDirection();
|
||||||
@ -168,7 +168,7 @@ public class Controllable extends Trait implements Toggleable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private interface Controller {
|
public static interface Controller {
|
||||||
void leftClick(PlayerInteractEvent event);
|
void leftClick(PlayerInteractEvent event);
|
||||||
|
|
||||||
void rightClick(PlayerInteractEvent event);
|
void rightClick(PlayerInteractEvent event);
|
||||||
|
Loading…
Reference in New Issue
Block a user