Working Restrictions
This commit is contained in:
1 parent
b5468b1fe9
commit
4bdb3f94d5
20 files changed
+244
-46
No files matched your search
@@ -13,6 +13,7 @@ public class HubCommand extends Command {
|
||||
setCondition((sender, commandString) -> ((Player) sender).getInstance() instanceof Room);
|
||||
|
||||
setDefaultExecutor((sender, context) -> {
|
||||
Room.unsetRoom((Player) sender);
|
||||
MoveInstance.move((Player) sender, Hub.INSTANCE);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user