This commit is contained in:
fullwall 2012-10-12 19:35:11 +08:00
parent 7aa56a5ffb
commit 042a0b5ba6

View File

@ -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);