improve @ and ~ commands
This commit is contained in:
parent
06517a0d34
commit
e3edb3be8a
36 changed files with 159 additions and 124 deletions
|
@ -132,6 +132,7 @@ public final class Server implements IThreadListener, Executor {
|
|||
private KeyPair keyPair;
|
||||
private WorldServer space;
|
||||
private ChannelFuture endpoint;
|
||||
private Position execPos;
|
||||
|
||||
private boolean running = true;
|
||||
private boolean stopped;
|
||||
|
@ -1168,19 +1169,19 @@ public final class Server implements IThreadListener, Executor {
|
|||
return this.keyPair.getPrivate();
|
||||
}
|
||||
|
||||
public void logConsole(String msg) {
|
||||
public void log(String msg) {
|
||||
Log.CONSOLE.info(msg);
|
||||
}
|
||||
|
||||
public Position getExecPos() {
|
||||
return null;
|
||||
return this.execPos;
|
||||
}
|
||||
|
||||
public Entity getPointedEntity() {
|
||||
return null;
|
||||
public void setExecPos(Position pos) {
|
||||
this.execPos = pos;
|
||||
}
|
||||
|
||||
public BlockPos getPointedPosition() {
|
||||
return null;
|
||||
public boolean isConsole() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue