(update) trigger server restart
This commit is contained in:
1 file changed
+1
-1
@@ -65,7 +65,7 @@ public class CreativeRoomModule extends ServerModule {
|
|||||||
roomRegistry.createRoomOf(CreativeSpaceRoom.class, CreativeSpaceRoom.IDENTIFIER, null, (String) null);
|
roomRegistry.createRoomOf(CreativeSpaceRoom.class, CreativeSpaceRoom.IDENTIFIER, null, (String) null);
|
||||||
roomModule.enqueuePregen(CreativeSpaceRoom.WORLD, CreativeSpaceRoom.SPAWN_POS);
|
roomModule.enqueuePregen(CreativeSpaceRoom.WORLD, CreativeSpaceRoom.SPAWN_POS);
|
||||||
}
|
}
|
||||||
//todo: support for vanilla permissions
|
|
||||||
private @NotNull TriState onVanillaCommands(@NotNull CommandSource commandSource, @NotNull String s) {
|
private @NotNull TriState onVanillaCommands(@NotNull CommandSource commandSource, @NotNull String s) {
|
||||||
if (commandSource instanceof ServerCommandSource source && source.getPlayer() != null) {
|
if (commandSource instanceof ServerCommandSource source && source.getPlayer() != null) {
|
||||||
var p = source.getPlayer();
|
var p = source.getPlayer();
|
||||||
|
|||||||
Reference in new issue
Block a user