mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Fix index out of bounds error
This commit is contained in:
parent
28430cc1c3
commit
8b7bb7faa2
@ -92,7 +92,7 @@ public class CommandIrisPregen extends MortarCommand
|
||||
{
|
||||
Player p = sender.player();
|
||||
World world;
|
||||
if (args[1] == null) {
|
||||
if (args.length != 2) {
|
||||
world = p.getWorld();
|
||||
} else {
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user