Derp
This commit is contained in:
parent
59d6ee5377
commit
b6df2c1d54
|
@ -100,6 +100,7 @@ public class Controllable extends Trait implements Toggleable {
|
|||
Constructor<? extends Controller> innerConstructor = null;
|
||||
try {
|
||||
innerConstructor = clazz.getConstructor(Controllable.class);
|
||||
innerConstructor.setAccessible(true);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
@ -135,7 +136,7 @@ public class Controllable extends Trait implements Toggleable {
|
|||
return enabled;
|
||||
}
|
||||
|
||||
private class AirController implements Controller {
|
||||
public class AirController implements Controller {
|
||||
boolean paused = false;
|
||||
|
||||
@Override
|
||||
|
@ -178,7 +179,7 @@ public class Controllable extends Trait implements Toggleable {
|
|||
void run(Player rider);
|
||||
}
|
||||
|
||||
private class GroundController implements Controller {
|
||||
public class GroundController implements Controller {
|
||||
private void jump() {
|
||||
boolean allowed = getHandle().onGround;
|
||||
if (!allowed)
|
||||
|
|
Loading…
Reference in New Issue