mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +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();
|
Player p = sender.player();
|
||||||
World world;
|
World world;
|
||||||
if (args[1] == null) {
|
if (args.length != 2) {
|
||||||
world = p.getWorld();
|
world = p.getWorld();
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user