Patch pregen command descriptions (#477)

* Patch pregen command descriptions

* Update CommandIrisPregen.java

Co-authored-by: StrangeOne101 <strange.toby@gmail.com>
This commit is contained in:
CocoTheOwner 2021-07-26 13:01:38 +02:00 committed by GitHub
parent 714936f710
commit 8e8524ccc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ public class CommandIrisPregen extends MortarCommand {
setDescription( setDescription(
""" """
Pregen this world with optional parameters:\s Pregen this world with optional parameters:\s
'1k' = 1000 by 1000 blocks, '1c' = 1 by 1 chunks, and '1r' = 32 by 32 chunks. '1k' = 1000 * 2 by 1000 * 2 blocks, '1c' = 2 by 2 chunks, and '1r' = 64 by 64 chunks.
If you are using the console or want to pregen a world you're not in: If you are using the console or want to pregen a world you're not in:
also specify the name of the world. E.g. /ir pregen 5k world""" also specify the name of the world. E.g. /ir pregen 5k world"""
); );
@ -68,7 +68,7 @@ public class CommandIrisPregen extends MortarCommand {
@Override @Override
public boolean handle(VolmitSender sender, String[] args) { public boolean handle(VolmitSender sender, String[] args) {
if (args.length == 0) { if (args.length == 0) {
sender.sendMessage("/iris pregen <blocks-wide|stop>"); sender.sendMessage("/iris pregen <radius|stop|pause|resume>");
return true; return true;
} }