Merge pull request #667 from CocoTheOwner/warnWhenCreate

Warn users when using /iris create
This commit is contained in:
Dan 2021-11-11 17:56:06 -05:00 committed by GitHub
commit 9f425cce4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,6 +75,8 @@ public class CommandIris implements DecreeExecutor {
return; return;
} }
sender().sendMessage(C.RED + "You should not be using this command to create new worlds. Instead, use /mvc " + name + " NORMAL -g Iris:" + type.getName());
try { try {
IrisToolbelt.createWorld() IrisToolbelt.createWorld()
.dimension(type.getLoadKey()) .dimension(type.getLoadKey())