mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-12 02:10:30 +00:00
Correct spelling in error message
This commit is contained in:
parent
38f9a015ca
commit
a8fadabaf1
@ -204,7 +204,7 @@ public class CommandAPI implements ILuaAPI
|
|||||||
);
|
);
|
||||||
if( !world.isValid( min ) || !world.isValid( max ) )
|
if( !world.isValid( min ) || !world.isValid( max ) )
|
||||||
{
|
{
|
||||||
throw new LuaException( "Co-ordinates out or range" );
|
throw new LuaException( "Co-ordinates out of range" );
|
||||||
}
|
}
|
||||||
if( (max.getX() - min.getX() + 1) * (max.getY() - min.getY() + 1) * (max.getZ() - min.getZ() + 1) > 4096 )
|
if( (max.getX() - min.getX() + 1) * (max.getY() - min.getY() + 1) * (max.getZ() - min.getZ() + 1) > 4096 )
|
||||||
{
|
{
|
||||||
@ -243,7 +243,7 @@ public class CommandAPI implements ILuaAPI
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw new LuaException( "co-ordinates out or range" );
|
throw new LuaException( "Co-ordinates out of range" );
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user