@Command( aliases = {"/getlighting"}, desc = "Get the light at a position", min = 0, max = 0) @CommandPermissions("worldedit.light.fix") public void getlighting(Player player, EditSession editSession) throws WorldEditException { FawePlayer fp = FawePlayer.wrap(player); final FaweLocation loc = fp.getLocation(); FaweQueue queue = SetQueue.IMP.getNewQueue(loc.world, true, false); fp.sendMessage( "Light: " + queue.getEmmittedLight(loc.x, loc.y, loc.z) + " | " + queue.getSkyLight(loc.x, loc.y, loc.z)); }