mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-25 10:09:14 +00:00
Fix index out of bounds error
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user